Crayola crayon color

Crayola Inchworm #B2EC5D

Crayola Inchworm is shown here as #B2EC5D, the commonly published value for the crayon. It is a pale vivid green in the green family. In OKLCH it sits at lightness 0.875, chroma 0.182 and hue 128.4°. The nearest CSS named color is greenyellow (#ADFF2F), ΔE2000 5.8 away.

Relative luminance
0.7025
OKLCH L · C · h
0.875 · 0.182 · 128.4
Best text
Black 15.04:1
Hue family
Green

#B2EC5D color codes

HEX
#B2EC5D
RGB
rgb(178, 236, 93)
HSL
hsl(84, 79%, 65%)
OKLCH
oklch(0.875 0.182 128.4)
OKLab
oklab(0.875 -0.113 0.143)
CIELAB (D65)
L* 87.12, a* -39.95, b* 61.76
XYZ (D65)
X 50.33, Y 70.25, Z 21.26
CMYK (naive)
cmyk(25%, 0%, 61%, 7%)

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

Black text on it reaches 15.04:1, passing AAA. White text fails at 1.39: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

    15.04:1

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

    1.39:1

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

    Text is here, unreadable at 1.39:1

  • As text on black

    15.04:1

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

    1.39:1

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

    Text is here, unreadable at 1.39:1

Nearest versions that pass 4.5:1

  • For text on white

    #598200 4.54:1

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

  • For text on black

    #B2EC5D 15.04:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#E7FFCD
    White
    1.07
    Black
    19.58
  2. 100#CDFF8E
    White
    1.14
    Black
    18.29
  3. 200This color#B2EC5D
    White
    1.39
    Black
    15.04
  4. 300#9DD24D
    White
    1.78
    Black
    11.75
  5. 400#80B51B
    White
    2.45
    Black
    8.54
  6. 500#689700
    White
    3.49
    Black
    6.01
  7. 600#557D00
    White
    4.86
    Black
    4.31
  8. 700#436400
    White
    6.85
    Black
    3.06
  9. 800#304900
    White
    10.10
    Black
    2.07
  10. 900#1E2F00
    White
    14.36
    Black
    1.46
  11. 950#0F1A00
    White
    17.97
    Black
    1.16

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

Gamut

How vivid #B2EC5D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.230; #B2EC5D uses 79% of it. Display P3, which many recent phones and laptops show, reaches 0.269 there: 17% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.182
sRGB edge
0.230
Display P3 edge
0.269
Rec. 2020 edge
0.278
Dominant wavelength
562 nm
Excitation purity
59%
Chromaticity
x 0.3549, y 0.4953
  • This color#B2EC5D
  • Most vivid in sRGB#A8F000
  • Most vivid in Display P3oklch(0.875 0.269 128.4)

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

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

Mixing

Mixing #B2EC5D

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%#D9F6AE
  • OKLab50%#D8F7B5
  • OKLCH50%#D8F7B5

Black #000000

  • sRGB50%#59762F
  • OKLab50%#435B1F
  • OKLCH50%#435B1F

Its complement #E5C8FF

  • sRGB50%#CCDAAE
  • OKLab50%#CCDDBA
  • OKLCH50%#FFC7B5
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #b2ec5d, white);
color: color-mix(in oklch, #b2ec5d 50%, white);

In use

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

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

Dark page

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

Color vision

How #B2EC5D looks with color blindness

Achromatopsia changes it most, ΔE2000 27.8; deuteranopia changes it least, 16.7.

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

    #F7DD4C ΔE2000 17.8

    Distinct

    Reads as pale soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #EFD967 ΔE2000 16.7

    Distinct

    Reads as pale soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #B7E2CE ΔE2000 22.2

    Distinct

    Reads as pale muted green

  • Achromatopsia

    No cone color vision; lightness only

    #DADADA ΔE2000 27.8

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#B2EC5D · #E5C8FF61.6Stays distinct
Protanopia#F7DD4C · #BFD2FF47.1Stays distinct
Deuteranopia#EFD967 · #C5D4FD43.7Stays distinct
Tritanopia#B7E2CE · #E2CFDB29.7Stays distinct
Achromatopsia#DADADA · #D3D3D31.6Easily confused

Harmony

Color harmonies for #B2EC5D

Its complement is #E5C8FF, 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#B2EC5D
  • Complement#E5C8FF

Complementary

Open in Harmony Studio
  • −30°#F5D600
  • Base#B2EC5D
  • +30°#49F9A8
  • Base#B2EC5D
  • +120°#B6DAFF
  • +240°#FFC4CD
  • Base#B2EC5D
  • +150°#CCD3FF
  • +210°#FFBFEB

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-inchworm: #b2ec5d;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-crayola-inchworm: oklch(0.875 0.182 128.4);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-inchworm": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.698, 0.9255, 0.3647],
        "hex": "#b2ec5d"
      },
      "$description": "Crayola Inchworm"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaInchworm = Color(.sRGB, red: 0.698, green: 0.925, blue: 0.365, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaInchworm = Color(0xFFB2EC5D)
}

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

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