#D0D04F#D0D04F

#D0D04F is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.149 H 109.2°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D0D04F
RGBrgb(208, 208, 79)
HSLhsl(60, 58%, 56%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0%, 62%, 18.4%)
CIE-LABlab(81.34, -15.99, 61.92)
CIE-LCHlch(81.34, 63.95, 104.48°)
OKLaboklab(83.36% -0.0491 0.1407)
OKLCHoklch(83.36% 0.149 109.2)
XYZxyz(49.9811, 59.0875, 16.1678)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D04F #4F4FD0
analogous
#D0904F #D0D04F #90D04F
triadic
#D0D04F #4FD0D0 #D04FD0
tetradic
#D0D04F #4FD090 #4F4FD0 #D04F90
square
#D0D04F #4FD090 #4F4FD0 #D04F90
split-complementary
#D0D04F #4F90D0 #904FD0
monochromatic
#828223 #B2B230 #D0D04F #DDDD7F #EAEAB0

Accessibility & contrast

On white

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

On black

12.82
#D0D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D04F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D04F#FFFFFF#000000##000000
##D0D04F1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#DEC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0d04f;
/* rgb */ color: rgb(208, 208, 79);
/* oklch */ color: oklch(83.4% 0.149 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1de86',
    500: '#d0d04f',
    950: '#000000',
  },
}
SCSS
$custom: #d0d04f;
$custom-light: #e1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d04f",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83362,
    "c": 0.14906,
    "h": 109.2
  },
  "luminance": 0.59086
}

Semantic roles & 50–950 ramp

primary
#D0D04F
secondary
#3A3A89
accent
#47E147
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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