Crayola crayon color

Crayola Yellow Green #C5E384

Crayola Yellow Green is shown here as #C5E384, the commonly published value for the crayon. It is a pale soft yellow in the green family. In OKLCH it sits at lightness 0.873, chroma 0.125 and hue 123.3°. The nearest CSS named color is yellowgreen (#9ACD32), ΔE2000 9.6 away.

Relative luminance
0.6847
OKLCH L · C · h
0.873 · 0.125 · 123.3
Best text
Black 14.69:1
Hue family
Green

#C5E384 color codes

HEX
#C5E384
RGB
rgb(197, 227, 132)
HSL
hsl(79, 63%, 70%)
OKLCH
oklch(0.873 0.125 123.3)
OKLab
oklab(0.873 -0.069 0.105)
CIELAB (D65)
L* 86.24, a* -24.91, b* 43.08
XYZ (D65)
X 54.66, Y 68.47, Z 32.16
CMYK (naive)
cmyk(13%, 0%, 42%, 11%)

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 #C5E384 accessible?

Black text on it reaches 14.69:1, passing AAA. White text fails at 1.42:1.

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

    14.69:1

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

    1.42:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −23

    Text is here, unreadable at 1.42:1

  • As text on black

    14.69:1

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

    1.42:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +20

    Text is here, unreadable at 1.42:1

Nearest versions that pass 4.5:1

  • For text on white

    #667F1B 4.54:1

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

  • For text on black

    #C5E384 14.69:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #C5E384 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 #C5E384

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

  1. 50#EAFFC2
    White
    1.07
    Black
    19.58
  2. 100#DEF7AA
    White
    1.16
    Black
    17.99
  3. 200This color#C5E384
    White
    1.42
    Black
    14.69
  4. 300#AFCA73
    White
    1.82
    Black
    11.51
  5. 400#93AE52
    White
    2.49
    Black
    8.41
  6. 500#789233
    White
    3.52
    Black
    5.95
  7. 600#617A15
    White
    4.88
    Black
    4.30
  8. 700#4C6200
    White
    6.87
    Black
    3.05
  9. 800#374700
    White
    10.17
    Black
    2.06
  10. 900#222E00
    White
    14.39
    Black
    1.45
  11. 950#121900
    White
    18.02
    Black
    1.16

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

Gamut

How vivid #C5E384 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.215; #C5E384 uses 58% of it. Display P3, which many recent phones and laptops show, reaches 0.251 there: 17% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.125
sRGB edge
0.215
Display P3 edge
0.251
Rec. 2020 edge
0.259
Dominant wavelength
565 nm
Excitation purity
42%
Chromaticity
x 0.3520, y 0.4409
  • This color#C5E384
  • Most vivid in sRGB#BAEA00
  • Most vivid in Display P3oklch(0.873 0.251 123.3)

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

Use the wider color where screens show it
.accent {
  color: #c5e384;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.7589 0.923 0); }
}

Mixing

Mixing #C5E384

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%#E2F1C2
  • OKLab50%#E2F2C4
  • OKLCH50%#E2F2C4

Black #000000

  • sRGB50%#637242
  • OKLab50%#4B572F
  • OKLCH50%#4B572F

Its complement #DFC9FF

  • sRGB50%#D2D6C2
  • OKLab50%#D2D8C7
  • OKLCH50%#FFC5B8
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #c5e384, white);
color: color-mix(in oklch, #c5e384 50%, white);

In use

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

For text on this page, the nearest shade that passes is #667F1B 4.54:1

Dark page

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

Color vision

How #C5E384 looks with color blindness

Achromatopsia changes it most, ΔE2000 23.9; deuteranopia changes it least, 11.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

    #EDD97D ΔE2000 12.5

    Distinct

    Reads as pale soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E9D889 ΔE2000 11.8

    Distinct

    Reads as pale soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #CCDBCC ΔE2000 18.1

    Distinct

    Reads as pale grayish green

  • Achromatopsia

    No cone color vision; lightness only

    #D8D8D8 ΔE2000 23.9

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#C5E384 · #DFC9FF53.2Stays distinct
Protanopia#EDD97D · #BFD2FF42.4Stays distinct
Deuteranopia#E9D889 · #C3D2FD40.2Stays distinct
Tritanopia#CCDBCC · #DAD0DB17.6Stays distinct
Achromatopsia#D8D8D8 · #D2D2D21.4Easily confused

Harmony

Color harmonies for #C5E384

Its complement is #DFC9FF, a pale muted violet.

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

Open the Harmony Studio
  • Base#C5E384
  • Complement#DFC9FF

Complementary

Open in Harmony Studio
  • −30°#F1D36E
  • Base#C5E384
  • +30°#91EDAE
  • Base#C5E384
  • +120°#AFDBFF
  • +240°#FFC2D0
  • Base#C5E384
  • +150°#C7D3FF
  • +210°#FFBCF2

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-yellow-green: #c5e384;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-yellow-green': '#c5e384',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-crayola-yellow-green: oklch(0.873 0.125 123.3);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-yellow-green": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.7725, 0.8902, 0.5176],
        "hex": "#c5e384"
      },
      "$description": "Crayola Yellow Green"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaYellowGreen = Color(.sRGB, red: 0.773, green: 0.890, blue: 0.518, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaYellowGreen = Color(0xFFC5E384)
}

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

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