#D2D03F#D2D03F

#D2D03F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.160 H 108.6°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D2D03F
RGBrgb(210, 208, 63)
HSLhsl(59, 62%, 54%)
HSVhsv(59, 70%, 82%)
CMYKcmyk(0%, 1%, 70%, 17.6%)
CIE-LABlab(81.39, -16.06, 68.21)
CIE-LCHlch(81.39, 70.07, 103.25°)
OKLaboklab(83.4% -0.051 0.1514)
OKLCHoklch(83.4% 0.16 108.6)
XYZxyz(50.0332, 59.1738, 13.4878)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D03F #3F41D2
analogous
#D2863F #D2D03F #8AD23F
triadic
#D2D03F #3FD2D0 #D03FD2
tetradic
#D2D03F #3FD286 #3F41D2 #D23F8A
square
#D2D03F #3FD286 #3F41D2 #D23F8A
split-complementary
#D2D03F #3F8AD2 #863FD2
monochromatic
#7A791D #ACAA28 #D2D03F #DEDC71 #E9E8A2

Accessibility & contrast

On white

1.64
#D2D03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D2D03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D03F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D03F#FFFFFF#000000##000000
##D2D03F1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#E3CC4A
Tritanopia (blue-blind)
#E1C3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2d03f;
/* rgb */ color: rgb(210, 208, 63);
/* oklch */ color: oklch(83.4% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e3de7d',
    500: '#d2d03f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d03f;
$custom-light: #e3de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d03f",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 59.184,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83403,
    "c": 0.15977,
    "h": 108.6
  },
  "luminance": 0.59172
}

Semantic roles & 50–950 ramp

primary
#D2D03F
secondary
#333482
accent
#45E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D03F

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

Preview Lab → · Contrast checker → · Palette generator →

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