Crayola crayon color

Crayola Shadow #8A795D

Crayola Shadow is shown here as #8A795D, the commonly published value for the crayon. It is a grayish amber in the brown family. In OKLCH it sits at lightness 0.584, chroma 0.046 and hue 80.0°. The nearest CSS named color is gray (#808080), ΔE2000 13.0 away.

Relative luminance
0.1987
OKLCH L · C · h
0.584 · 0.046 · 80.0
Best text
Black 4.97:1
Hue family
Brown

#8A795D color codes

HEX
#8A795D
RGB
rgb(138, 121, 93)
HSL
hsl(37, 19%, 45%)
OKLCH
oklch(0.584 0.046 80.0)
OKLab
oklab(0.584 0.008 0.045)
CIELAB (D65)
L* 51.69, a* 2.10, b* 17.79
XYZ (D65)
X 19.29, Y 19.87, Z 13.17
CMYK (naive)
cmyk(0%, 12%, 33%, 46%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #8A795D accessible?

Black text on it reaches 4.97:1, passing AA. White text manages only 4.22:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    4.97:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +34
  • White text on it

    4.22:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −74
  • As text on black

    4.97:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −32
  • As text on white

    4.22:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +69

Nearest versions that pass 4.5:1

  • For text on white

    #847357 4.59:1

    Darkening its OKLCH lightness from 0.58 to 0.56 reaches 4.59:1 on white, keeping the hue.

  • For text on black

    #8A795D 4.97:1

    It already reaches 4.97:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #8A795D live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #8A795D

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #8A795D sits at step 500.

  1. 50#FFF4E1
    White
    1.08
    Black
    19.27
  2. 100#F9E9D0
    White
    1.19
    Black
    17.59
  3. 200#E6D5BA
    White
    1.43
    Black
    14.59
  4. 300#CCBB9F
    White
    1.87
    Black
    11.17
  5. 400#B09F82
    White
    2.58
    Black
    8.12
  6. 500This color#8A795D
    White
    4.22
    Black
    4.97
  7. 600#7D6C51
    White
    5.07
    Black
    4.13
  8. 700#65563C
    White
    7.11
    Black
    2.94
  9. 800#4B3D26
    White
    10.52
    Black
    1.99
  10. 900#332712
    White
    14.58
    Black
    1.43
  11. 950#1E1403
    White
    18.15
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #8A795D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.121; #8A795D uses 38% of it. Display P3, which many recent phones and laptops show, reaches 0.139 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.046
sRGB edge
0.121
Display P3 edge
0.139
Rec. 2020 edge
0.142
Dominant wavelength
578 nm
Excitation purity
30%
Chromaticity
x 0.3687, y 0.3796
  • This color#8A795D
  • Most vivid in sRGB#A17200
  • Most vivid in Display P3oklch(0.584 0.139 80.0)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #8a795d;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6199 0.4469 0); }
}

Mixing

Mixing #8A795D

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#C5BCAE
  • OKLab50%#C3BAAB
  • OKLCH50%#C3BAAB

Black #000000

  • sRGB50%#453D2F
  • OKLab50%#322B1F
  • OKLCH50%#322B1F

Its complement #6C7C97

  • sRGB50%#7B7B7A
  • OKLab50%#7B7B7B
  • OKLCH50%#91717F
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #8a795d, white);
color: color-mix(in oklch, #8a795d 50%, white);

In use

#8A795D in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:14.97:1 Passes
  • Link and body-size textText, 4.5:14.22:1 Fails
  • Large headingLarge text, 3:14.22:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.22:1 Passes

For text on this page, the nearest shade that passes is #847357 4.59:1

Dark page

  • Button labelText, 4.5:14.97:1 Passes
  • Link and body-size textText, 4.5:14.43:1 Fails
  • Large headingLarge text, 3:14.43:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.43:1 Passes

For text on this page, the nearest shade that passes is #8C7A5E 4.51:1

Color vision

How #8A795D looks with color blindness

Tritanopia changes it most, ΔE2000 14.6; deuteranopia changes it least, 4.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #80795B ΔE2000 5.3

    Noticeable

    Reads as grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #857D5E ΔE2000 4.9

    Close match

    Reads as grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #917471 ΔE2000 14.6

    Distinct

    Reads as grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #7B7B7B ΔE2000 12.8

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #6C7C97. Their lightness contrast is only 1.00:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#8A795D · #6C7C9725.3Stays distinct
Protanopia#80795B · #737D9826.5Stays distinct
Deuteranopia#857D5E · #6F799627.5Stays distinct
Tritanopia#917471 · #60828527.8Stays distinct
Achromatopsia#7B7B7B · #7B7B7B0.0Easily confused

Harmony

Color harmonies for #8A795D

Its complement is #6C7C97, a grayish blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#8A795D
  • Complement#6C7C97

Complementary

Open in Harmony Studio
  • −30°#927464
  • Base#8A795D
  • +30°#7D7E5F
  • Base#8A795D
  • +120°#5B8486
  • +240°#88738D
  • Base#8A795D
  • +150°#608192
  • +210°#7B7795

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-shadow: #8a795d;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-shadow': '#8a795d',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-shadow: oklch(0.584 0.046 80.0);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-shadow": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5412, 0.4745, 0.3647],
        "hex": "#8a795d"
      },
      "$description": "Crayola Shadow"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaShadow = Color(.sRGB, red: 0.541, green: 0.475, blue: 0.365, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaShadow = Color(0xFF8A795D)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #8A795D in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.