Crayola crayon color

Crayola Beaver #9F8170

Crayola Beaver is shown here as #9F8170, the commonly published value for the crayon. It is a grayish orange in the brown family. In OKLCH it sits at lightness 0.627, chroma 0.045 and hue 51.1°. The nearest CSS named color is rosybrown (#BC8F8F), ΔE2000 11.7 away.

Relative luminance
0.2424
OKLCH L · C · h
0.627 · 0.045 · 51.1
Best text
Black 5.84:1
Hue family
Brown

#9F8170 color codes

HEX
#9F8170
RGB
rgb(159, 129, 112)
HSL
hsl(22, 20%, 53%)
OKLCH
oklch(0.627 0.045 51.1)
OKLab
oklab(0.627 0.028 0.035)
CIELAB (D65)
L* 56.33, a* 8.91, b* 13.57
XYZ (D65)
X 25.07, Y 24.24, Z 18.68
CMYK (naive)
cmyk(0%, 19%, 30%, 38%)

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 #9F8170 accessible?

Black text on it reaches 5.84:1, passing AA. White text manages only 3.59: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

    5.84:1

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

    3.59:1

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

    5.84:1

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

    3.59:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #8D6F5F 4.59:1

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

  • For text on black

    #9F8170 5.84:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #9F8170 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 #9F8170

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

  1. 50#FFF2EB
    White
    1.09
    Black
    19.15
  2. 100#FFE5D7
    White
    1.20
    Black
    17.44
  3. 200#EED1C1
    White
    1.44
    Black
    14.52
  4. 300#D5B7A6
    White
    1.88
    Black
    11.15
  5. 400#B99A89
    White
    2.60
    Black
    8.04
  6. 500This color#9F8170
    White
    3.59
    Black
    5.84
  7. 600#846857
    White
    5.12
    Black
    4.09
  8. 700#6C5142
    White
    7.25
    Black
    2.89
  9. 800#523A2C
    White
    10.49
    Black
    2.00
  10. 900#382317
    White
    14.77
    Black
    1.42
  11. 950#221107
    White
    18.24
    Black
    1.15

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

Gamut

How vivid #9F8170 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.163; #9F8170 uses 27% of it. Display P3, which many recent phones and laptops show, reaches 0.186 there: 14% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.045
sRGB edge
0.163
Display P3 edge
0.186
Rec. 2020 edge
0.188
Dominant wavelength
586 nm
Excitation purity
23%
Chromaticity
x 0.3687, y 0.3565
  • This color#9F8170
  • Most vivid in sRGB#D26500
  • Most vivid in Display P3oklch(0.627 0.186 51.1)

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

Use the wider color where screens show it
.accent {
  color: #9f8170;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.7992 0.3938 0); }
}

Mixing

Mixing #9F8170

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%#CFC0B8
  • OKLab50%#CFBEB5
  • OKLCH50%#CFBEB5

Black #000000

  • sRGB50%#504138
  • OKLab50%#3B2E27
  • OKLCH50%#3B2E27

Its complement #6D8E9F

  • sRGB50%#868888
  • OKLab50%#888888
  • OKLCH50%#7A9076
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #9f8170, white);
color: color-mix(in oklch, #9f8170 50%, white);

In use

#9F8170 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:15.84:1 Passes
  • Link and body-size textText, 4.5:13.59:1 Fails
  • Large headingLarge text, 3:13.59:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.59:1 Passes

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

Dark page

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

Color vision

How #9F8170 looks with color blindness

Deuteranopia changes it most, ΔE2000 13.6; tritanopia changes it least, 9.8.

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

    #89836F ΔE2000 12.3

    Distinct

    Reads as grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #908A70 ΔE2000 13.6

    Distinct

    Reads as grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #A87C7C ΔE2000 9.8

    Noticeable

    Reads as muted red

  • Achromatopsia

    No cone color vision; lightness only

    #878787 ΔE2000 13.3

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#9F8170 · #6D8E9F27.7Stays distinct
Protanopia#89836F · #868DA019.5Stays distinct
Deuteranopia#908A70 · #7E879F24.2Stays distinct
Tritanopia#A87C7C · #5D939337.4Stays distinct
Achromatopsia#878787 · #8989890.7Easily confused

Harmony

Color harmonies for #9F8170

Its complement is #6D8E9F, 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#9F8170
  • Complement#6D8E9F

Complementary

Open in Harmony Studio
  • −30°#A27E7C
  • Base#9F8170
  • +30°#96866A
  • Base#9F8170
  • +120°#6D9185
  • +240°#8884A2
  • Base#9F8170
  • +150°#689193
  • +210°#7989A4

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-beaver: #9f8170;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-beaver': '#9f8170',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-crayola-beaver: oklch(0.627 0.045 51.1);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-beaver": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6235, 0.5059, 0.4392],
        "hex": "#9f8170"
      },
      "$description": "Crayola Beaver"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaBeaver = Color(.sRGB, red: 0.624, green: 0.506, blue: 0.439, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaBeaver = Color(0xFF9F8170)
}

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 #9F8170 in the tools

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