#D0C159#D0C159

#D0C159 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.126 H 101.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D0C159
RGBrgb(208, 193, 89)
HSLhsl(52, 56%, 58%)
HSVhsv(52, 57%, 82%)
CMYKcmyk(0%, 7.2%, 57.2%, 18.4%)
CIE-LABlab(77.44, -7.70, 53.27)
CIE-LCHlch(77.44, 53.82, 98.23°)
OKLaboklab(80.29% -0.0244 0.1236)
OKLCHoklch(80.29% 0.126 101.2)
XYZxyz(46.8872, 52.2729, 17.0691)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C159 #5968D0
analogous
#D08559 #D0C159 #A3D059
triadic
#D0C159 #59D0C1 #C159D0
tetradic
#D0C159 #59D085 #5968D0 #D059A3
square
#D0C159 #59D085 #5968D0 #D059A3
split-complementary
#D0C159 #59A3D0 #8559D0
monochromatic
#887C27 #B8A734 #D0C159 #DED389 #EBE5B8

Accessibility & contrast

On white

1.83
#D0C159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D0C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C159
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C159#FFFFFF#000000##000000
##D0C1591.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#DEB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c159;
/* rgb */ color: rgb(208, 193, 89);
/* oklch */ color: oklch(80.3% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#e1d38b',
    500: '#d0c159',
    950: '#000000',
  },
}
SCSS
$custom: #d0c159;
$custom-light: #e1d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c159",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 52.437,
    "s": 55.869,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80291,
    "c": 0.12602,
    "h": 101.2
  },
  "luminance": 0.52271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C159

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

Preview Lab → · Contrast checker → · Palette generator →

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