#D9D152#D9D152

#D9D152 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.147 H 105.7°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D9D152
RGBrgb(217, 209, 82)
HSLhsl(56, 64%, 59%)
HSVhsv(56, 62%, 85%)
CMYKcmyk(0%, 3.7%, 62.2%, 14.9%)
CIE-LABlab(82.36, -12.57, 61.98)
CIE-LCHlch(82.36, 63.24, 101.47°)
OKLaboklab(84.36% -0.0396 0.1411)
OKLCHoklch(84.36% 0.147 105.7)
XYZxyz(52.9406, 60.9636, 16.9595)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D152 #525AD9
analogous
#D98D52 #D9D152 #9DD952
triadic
#D9D152 #52D9D1 #D152D9
tetradic
#D9D152 #52D98D #525AD9 #D9529D
square
#D9D152 #52D98D #525AD9 #D9529D
split-complementary
#D9D152 #529DD9 #8D52D9
monochromatic
#918A20 #C3BA2B #D9D152 #E4DE84 #EFECB6

Accessibility & contrast

On white

1.59
#D9D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D9D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D152
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D152#FFFFFF#000000##000000
##D9D1521.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#E8C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d152;
/* rgb */ color: rgb(217, 209, 82);
/* oklch */ color: oklch(84.4% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#e8de88',
    500: '#d9d152',
    950: '#000000',
  },
}
SCSS
$custom: #d9d152;
$custom-light: #e8de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d152",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 56.444,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84359,
    "c": 0.14652,
    "h": 105.7
  },
  "luminance": 0.60962
}

Semantic roles & 50–950 ramp

primary
#D9D152
secondary
#393F96
accent
#4BE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D152

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

Preview Lab → · Contrast checker → · Palette generator →

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