#D0C15B#D0C15B

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

Color values

HEX#D0C15B
RGBrgb(208, 193, 91)
HSLhsl(52, 55%, 59%)
HSVhsv(52, 56%, 82%)
CMYKcmyk(0%, 7.2%, 56.2%, 18.4%)
CIE-LABlab(77.46, -7.55, 52.37)
CIE-LCHlch(77.46, 52.91, 98.21°)
OKLaboklab(80.31% -0.0238 0.1219)
OKLCHoklch(80.31% 0.124 101)
XYZxyz(46.9723, 52.3069, 17.5175)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C15B #5B6AD0
analogous
#D0865B #D0C15B #A4D05B
triadic
#D0C15B #5BD0C1 #C15BD0
tetradic
#D0C15B #5BD086 #5B6AD0 #D05BA4
square
#D0C15B #5BD086 #5B6AD0 #D05BA4
split-complementary
#D0C15B #5BA4D0 #865BD0
monochromatic
#897D27 #B9A835 #D0C15B #DED38B #EBE5BA

Accessibility & contrast

On white

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

On black

11.46
#D0C15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C15B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C15B#FFFFFF#000000##000000
##D0C15B1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c15b;
/* rgb */ color: rgb(208, 193, 91);
/* oklch */ color: oklch(80.3% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#e1d38d',
    500: '#d0c15b',
    950: '#000000',
  },
}
SCSS
$custom: #d0c15b;
$custom-light: #e1d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c15b",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 52.308,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80313,
    "c": 0.12423,
    "h": 101
  },
  "luminance": 0.52305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C15B

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

Preview Lab → · Contrast checker → · Palette generator →

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