#D2D159#D2D159

#D2D159 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.142 H 108.7°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D2D159
RGBrgb(210, 209, 89)
HSLhsl(60, 57%, 59%)
HSVhsv(60, 58%, 82%)
CMYKcmyk(0%, 0.5%, 57.6%, 17.6%)
CIE-LABlab(81.85, -14.99, 58.26)
CIE-LCHlch(81.85, 60.16, 104.43°)
OKLaboklab(83.84% -0.0453 0.1343)
OKLCHoklch(83.84% 0.142 108.7)
XYZxyz(51.1835, 60.0252, 18.3391)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D159 #595AD2
analogous
#D29459 #D2D159 #96D259
triadic
#D2D159 #59D2D1 #D159D2
tetradic
#D2D159 #59D294 #595AD2 #D25996
square
#D2D159 #59D294 #595AD2 #D25996
split-complementary
#D2D159 #5996D2 #9459D2
monochromatic
#8B8A26 #BBBA33 #D2D159 #DFDE89 #ECECB9

Accessibility & contrast

On white

1.61
#D2D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#D2D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D159
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D159#FFFFFF#000000##000000
##D2D1591.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E2CE60
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d159;
/* rgb */ color: rgb(210, 209, 89);
/* oklch */ color: oklch(83.8% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#e2de8c',
    500: '#d2d159',
    950: '#000000',
  },
}
SCSS
$custom: #d2d159;
$custom-light: #e2de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d159",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 59.504,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83837,
    "c": 0.14171,
    "h": 108.7
  },
  "luminance": 0.60024
}

Semantic roles & 50–950 ramp

primary
#D2D159
secondary
#3E3F91
accent
#48E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D159

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

Preview Lab → · Contrast checker → · Palette generator →

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