#D0C059#D0C059

#D0C059 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.125 H 100.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D0C059
RGBrgb(208, 192, 89)
HSLhsl(52, 56%, 58%)
HSVhsv(52, 57%, 82%)
CMYKcmyk(0%, 7.7%, 57.2%, 18.4%)
CIE-LABlab(77.18, -7.19, 52.97)
CIE-LCHlch(77.18, 53.46, 97.73°)
OKLaboklab(80.08% -0.023 0.123)
OKLCHoklch(80.08% 0.125 100.6)
XYZxyz(46.6669, 51.8323, 16.9957)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C059 #5969D0
analogous
#D08459 #D0C059 #A4D059
triadic
#D0C059 #59D0C0 #C059D0
tetradic
#D0C059 #59D084 #5969D0 #D059A4
square
#D0C059 #59D084 #5969D0 #D059A4
split-complementary
#D0C059 #59A4D0 #8459D0
monochromatic
#887B27 #B8A634 #D0C059 #DED289 #EBE4B8

Accessibility & contrast

On white

1.85
#D0C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D0C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C059
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C059#FFFFFF#000000##000000
##D0C0591.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4F
Deuteranopia (green-blind)
#D5C15E
Tritanopia (blue-blind)
#DEB4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c059;
/* rgb */ color: rgb(208, 192, 89);
/* oklch */ color: oklch(80.1% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#e1d28b',
    500: '#d0c059',
    950: '#000000',
  },
}
SCSS
$custom: #d0c059;
$custom-light: #e1d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c059",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 51.933,
    "s": 55.869,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80082,
    "c": 0.12511,
    "h": 100.6
  },
  "luminance": 0.5183
}

Semantic roles & 50–950 ramp

primary
#D0C059
secondary
#3E498F
accent
#5DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C059

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

Preview Lab → · Contrast checker → · Palette generator →

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