#D2D059#D2D059

#D2D059 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.141 H 108.2°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D2D059
RGBrgb(210, 208, 89)
HSLhsl(59, 57%, 59%)
HSVhsv(59, 58%, 82%)
CMYKcmyk(0%, 1%, 57.6%, 17.6%)
CIE-LABlab(81.59, -14.49, 57.96)
CIE-LCHlch(81.59, 59.75, 104.03°)
OKLaboklab(83.62% -0.0439 0.1336)
OKLCHoklch(83.62% 0.141 108.2)
XYZxyz(50.9389, 59.5361, 18.2576)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D059 #595BD2
analogous
#D29359 #D2D059 #97D259
triadic
#D2D059 #59D2D0 #D059D2
tetradic
#D2D059 #59D293 #595BD2 #D25997
square
#D2D059 #59D293 #595BD2 #D25997
split-complementary
#D2D059 #5997D2 #9359D2
monochromatic
#8B8926 #BBB933 #D2D059 #DFDE89 #ECEBB9

Accessibility & contrast

On white

1.63
#D2D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D2D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D059
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D059#FFFFFF#000000##000000
##D2D0591.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d059;
/* rgb */ color: rgb(210, 208, 89);
/* oklch */ color: oklch(83.6% 0.141 108.2);
Tailwind
colors: {
  custom: {
    50: '#e2de8c',
    500: '#d2d059',
    950: '#000000',
  },
}
SCSS
$custom: #d2d059;
$custom-light: #e2de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d059",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 59.008,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83624,
    "c": 0.14066,
    "h": 108.2
  },
  "luminance": 0.59535
}

Semantic roles & 50–950 ramp

primary
#D2D059
secondary
#3E3F91
accent
#4AE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D059

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

Preview Lab → · Contrast checker → · Palette generator →

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