#D0D04B#D0D04B

#D0D04B is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.152 H 109.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D0D04B
RGBrgb(208, 208, 75)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 64%, 82%)
CMYKcmyk(0%, 0%, 63.9%, 18.4%)
CIE-LABlab(81.31, -16.24, 63.52)
CIE-LCHlch(81.31, 65.56, 104.34°)
OKLaboklab(83.33% -0.0502 0.1435)
OKLCHoklch(83.33% 0.152 109.3)
XYZxyz(49.8399, 59.0311, 15.4240)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D04B #4B4BD0
analogous
#D08D4B #D0D04B #8DD04B
triadic
#D0D04B #4BD0D0 #D04BD0
tetradic
#D0D04B #4BD08D #4B4BD0 #D04B8D
square
#D0D04B #4BD08D #4B4BD0 #D04B8D
split-complementary
#D0D04B #4B8DD0 #8D4BD0
monochromatic
#7F7F21 #B0B02E #D0D04B #DDDD7C #E9E9AC

Accessibility & contrast

On white

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

On black

12.81
#D0D04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D04B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D04B#FFFFFF#000000##000000
##D0D04B1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C839
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#DEC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0d04b;
/* rgb */ color: rgb(208, 208, 75);
/* oklch */ color: oklch(83.3% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#e2de84',
    500: '#d0d04b',
    950: '#000000',
  },
}
SCSS
$custom: #d0d04b;
$custom-light: #e2de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d04b",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83327,
    "c": 0.15205,
    "h": 109.3
  },
  "luminance": 0.5903
}

Semantic roles & 50–950 ramp

primary
#D0D04B
secondary
#383887
accent
#46E246
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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