#D4E242#D4E242

#D4E242 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.5% C 0.176 H 114.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#D4E242
RGBrgb(212, 226, 66)
HSLhsl(65, 73%, 57%)
HSVhsv(65, 71%, 89%)
CMYKcmyk(6.2%, 0%, 70.8%, 11.4%)
CIE-LABlab(86.40, -23.87, 72.08)
CIE-LCHlch(86.40, 75.93, 108.32°)
OKLaboklab(87.45% -0.0727 0.16)
OKLCHoklch(87.45% 0.176 114.4)
XYZxyz(55.3327, 68.7841, 15.5150)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E242 #5042E2
analogous
#E2A042 #D4E242 #84E242
triadic
#D4E242 #42D4E2 #E242D4
tetradic
#D4E242 #42E2A0 #5042E2 #E24284
square
#D4E242 #42E2A0 #5042E2 #E24284
split-complementary
#D4E242 #4284E2 #A042E2
monochromatic
#889317 #B9C81F #D4E242 #E0EA77 #ECF2AC

Accessibility & contrast

On white

1.42
#D4E242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#D4E242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E242
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E242#FFFFFF#000000##000000
##D4E2421.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D725
Deuteranopia (green-blind)
#F2DA4F
Tritanopia (blue-blind)
#E2D5C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e242;
/* rgb */ color: rgb(212, 226, 66);
/* oklch */ color: oklch(87.5% 0.176 114.4);
Tailwind
colors: {
  custom: {
    50: '#e5eb81',
    500: '#d4e242',
    950: '#000000',
  },
}
SCSS
$custom: #d4e242;
$custom-light: #e5eb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e242",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 65.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.87454,
    "c": 0.17576,
    "h": 114.4
  },
  "luminance": 0.68783
}

Semantic roles & 50–950 ramp

primary
#D4E242
secondary
#3A3198
accent
#38F048
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D4E242

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

Preview Lab → · Contrast checker → · Palette generator →

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