#D2D05A#D2D05A

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

Color values

HEX#D2D05A
RGBrgb(210, 208, 90)
HSLhsl(59, 57%, 59%)
HSVhsv(59, 57%, 82%)
CMYKcmyk(0%, 1%, 57.1%, 17.6%)
CIE-LABlab(81.59, -14.42, 57.53)
CIE-LCHlch(81.59, 59.31, 104.07°)
OKLaboklab(83.64% -0.0436 0.1328)
OKLCHoklch(83.64% 0.14 108.2)
XYZxyz(50.9812, 59.5530, 18.4802)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D05A #5A5CD2
analogous
#D2945A #D2D05A #98D25A
triadic
#D2D05A #5AD2D0 #D05AD2
tetradic
#D2D05A #5AD294 #5A5CD2 #D25A98
square
#D2D05A #5AD294 #5A5CD2 #D25A98
split-complementary
#D2D05A #5A98D2 #945AD2
monochromatic
#8C8A26 #BCB933 #D2D05A #DFDE8A #ECEBBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D05A#FFFFFF#000000##000000
##D2D05A1.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)
#DFC84D
Deuteranopia (green-blind)
#E1CD61
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d05a;
/* rgb */ color: rgb(210, 208, 90);
/* oklch */ color: oklch(83.6% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#e2de8d',
    500: '#d2d05a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d05a;
$custom-light: #e2de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d05a",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 59,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.1398,
    "h": 108.2
  },
  "luminance": 0.59552
}

Semantic roles & 50–950 ramp

primary
#D2D05A
secondary
#3E4092
accent
#4AE047
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D05A

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

Preview Lab → · Contrast checker → · Palette generator →

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