#D7EA42#D7EA42

#D7EA42 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.4% C 0.183 H 115.9°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#D7EA42
RGBrgb(215, 234, 66)
HSLhsl(67, 80%, 59%)
HSVhsv(67, 72%, 92%)
CMYKcmyk(8.1%, 0%, 71.8%, 8.2%)
CIE-LABlab(88.77, -26.46, 74.45)
CIE-LCHlch(88.77, 79.02, 109.57°)
OKLaboklab(89.42% -0.08 0.1649)
OKLCHoklch(89.42% 0.183 115.9)
XYZxyz(58.4320, 73.6869, 16.2981)
Luminance0.7369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EA42 #5542EA
analogous
#EAA942 #D7EA42 #83EA42
triadic
#D7EA42 #42D7EA #EA42D7
tetradic
#D7EA42 #42EAA9 #5542EA #EA4283
square
#D7EA42 #42EAA9 #5542EA #EA4283
split-complementary
#D7EA42 #4283EA #A942EA
monochromatic
#90A012 #C1D718 #D7EA42 #E3F079 #EEF6B0

Accessibility & contrast

On white

1.33
#D7EA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#D7EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EA42
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EA42#FFFFFF#000000##000000
##D7EA421.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE21
Deuteranopia (green-blind)
#F9E050
Tritanopia (blue-blind)
#E5DDCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7ea42;
/* rgb */ color: rgb(215, 234, 66);
/* oklch */ color: oklch(89.4% 0.183 115.9);
Tailwind
colors: {
  custom: {
    50: '#e7f082',
    500: '#d7ea42',
    950: '#000000',
  },
}
SCSS
$custom: #d7ea42;
$custom-light: #e7f082;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ea42",
  "rgb": {
    "r": 215,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 66.786,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.89416,
    "c": 0.18332,
    "h": 115.9
  },
  "luminance": 0.73686
}

Semantic roles & 50–950 ramp

primary
#D7EA42
secondary
#3B2EA2
accent
#31F648
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16160B
muted
#85857E

Preview Lab

Preview with #D7EA42

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

Preview Lab → · Contrast checker → · Palette generator →

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