#D1EA42#D1EA42

#D1EA42 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.0% C 0.185 H 117.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#D1EA42
RGBrgb(209, 234, 66)
HSLhsl(69, 80%, 59%)
HSVhsv(69, 72%, 92%)
CMYKcmyk(10.7%, 0%, 71.8%, 8.2%)
CIE-LABlab(88.35, -28.87, 73.90)
CIE-LCHlch(88.35, 79.34, 111.34°)
OKLaboklab(88.97% -0.0864 0.1639)
OKLCHoklch(88.97% 0.185 117.8)
XYZxyz(56.7020, 72.7949, 16.2170)
Luminance0.7279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EA42 #5B42EA
analogous
#EAAF42 #D1EA42 #7DEA42
triadic
#D1EA42 #42D1EA #EA42D1
tetradic
#D1EA42 #42EAAF #5B42EA #EA427D
square
#D1EA42 #42EAAF #5B42EA #EA427D
split-complementary
#D1EA42 #427DEA #AF42EA
monochromatic
#8BA012 #BAD718 #D1EA42 #DEF079 #ECF6B0

Accessibility & contrast

On white

1.35
#D1EA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#D1EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EA42
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EA42#FFFFFF#000000##000000
##D1EA421.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADD21
Deuteranopia (green-blind)
#F7DF50
Tritanopia (blue-blind)
#DEDDCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1ea42;
/* rgb */ color: rgb(209, 234, 66);
/* oklch */ color: oklch(89.0% 0.185 117.8);
Tailwind
colors: {
  custom: {
    50: '#e3f081',
    500: '#d1ea42',
    950: '#000000',
  },
}
SCSS
$custom: #d1ea42;
$custom-light: #e3f081;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ea42",
  "rgb": {
    "r": 209,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 68.929,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.88969,
    "c": 0.18531,
    "h": 117.8
  },
  "luminance": 0.72794
}

Semantic roles & 50–950 ramp

primary
#D1EA42
secondary
#3F2EA2
accent
#31F64F
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #D1EA42

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D1EA42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva