#D4E957#D4E957

#D4E957 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.1% C 0.169 H 116.9°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#D4E957
RGBrgb(212, 233, 87)
HSLhsl(69, 77%, 63%)
HSVhsv(69, 63%, 91%)
CMYKcmyk(9%, 0%, 62.7%, 8.6%)
CIE-LABlab(88.43, -26.00, 66.28)
CIE-LCHlch(88.43, 71.20, 111.42°)
OKLaboklab(89.13% -0.0767 0.151)
OKLCHoklch(89.13% 0.169 116.9)
XYZxyz(58.0118, 72.9637, 20.0423)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E957 #6C57E9
analogous
#E9B557 #D4E957 #8BE957
triadic
#D4E957 #57D4E9 #E957D4
tetradic
#D4E957 #57E9B5 #6C57E9 #E9578B
square
#D4E957 #57E9B5 #6C57E9 #E9578B
split-complementary
#D4E957 #578BE9 #B557E9
monochromatic
#99AF17 #C6E221 #D4E957 #E2F08D #F0F7C3

Accessibility & contrast

On white

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

On black

15.59
#D4E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E957
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E957#FFFFFF#000000##000000
##D4E9571.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD44
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#E0DDCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e957;
/* rgb */ color: rgb(212, 233, 87);
/* oklch */ color: oklch(89.1% 0.169 116.9);
Tailwind
colors: {
  custom: {
    50: '#e4f08d',
    500: '#d4e957',
    950: '#000000',
  },
}
SCSS
$custom: #d4e957;
$custom-light: #e4f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e957",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 68.63,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89131,
    "c": 0.16931,
    "h": 116.9
  },
  "luminance": 0.72963
}

Semantic roles & 50–950 ramp

primary
#D4E957
secondary
#4635AF
accent
#0CD92A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4E957

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

Preview Lab → · Contrast checker → · Palette generator →

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