#D9D457#D9D457

#D9D457 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.145 H 107.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D9D457
RGBrgb(217, 212, 87)
HSLhsl(58, 63%, 60%)
HSVhsv(58, 60%, 85%)
CMYKcmyk(0%, 2.3%, 59.9%, 14.9%)
CIE-LABlab(83.19, -13.75, 60.76)
CIE-LCHlch(83.19, 62.30, 102.75°)
OKLaboklab(85.04% -0.0424 0.1392)
OKLCHoklch(85.04% 0.145 107)
XYZxyz(53.8808, 62.5285, 18.2459)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D457 #575CD9
analogous
#D99357 #D9D457 #9DD957
triadic
#D9D457 #57D9D4 #D457D9
tetradic
#D9D457 #57D993 #575CD9 #D9579D
square
#D9D457 #57D993 #575CD9 #D9579D
split-complementary
#D9D457 #579DD9 #9357D9
monochromatic
#949021 #C6C02D #D9D457 #E4E189 #F0EEBB

Accessibility & contrast

On white

1.55
#D9D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D9D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D457
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D457#FFFFFF#000000##000000
##D9D4571.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#E8C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d457;
/* rgb */ color: rgb(217, 212, 87);
/* oklch */ color: oklch(85.0% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e8e18b',
    500: '#d9d457',
    950: '#000000',
  },
}
SCSS
$custom: #d9d457;
$custom-light: #e8e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d457",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 57.692,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85037,
    "c": 0.14549,
    "h": 107
  },
  "luminance": 0.62527
}

Semantic roles & 50–950 ramp

primary
#D9D457
secondary
#3B3F99
accent
#48E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D457

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

Preview Lab → · Contrast checker → · Palette generator →

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