#D9C15A#D9C15A

#D9C15A is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.126 H 96.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D9C15A
RGBrgb(217, 193, 90)
HSLhsl(49, 63%, 60%)
HSVhsv(49, 59%, 85%)
CMYKcmyk(0%, 11.1%, 58.5%, 14.9%)
CIE-LABlab(78.25, -3.87, 53.93)
CIE-LCHlch(78.25, 54.07, 94.10°)
OKLaboklab(81.12% -0.0139 0.125)
OKLCHoklch(81.12% 0.126 96.3)
XYZxyz(49.5327, 53.6321, 17.4138)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C15A #5A72D9
analogous
#D9815A #D9C15A #B2D95A
triadic
#D9C15A #5AD9C1 #C15AD9
tetradic
#D9C15A #5AD981 #5A72D9 #D95AB2
square
#D9C15A #5AD981 #5A72D9 #D95AB2
split-complementary
#D9C15A #5AB2D9 #815AD9
monochromatic
#968023 #C8AB2E #D9C15A #E4D48C #F0E6BD

Accessibility & contrast

On white

1.79
#D9C15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D9C15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C15A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C15A#FFFFFF#000000##000000
##D9C15A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD50
Deuteranopia (green-blind)
#D9C55F
Tritanopia (blue-blind)
#E9B4AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c15a;
/* rgb */ color: rgb(217, 193, 90);
/* oklch */ color: oklch(81.1% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#e8d38c',
    500: '#d9c15a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c15a;
$custom-light: #e8d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c15a",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 48.661,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81118,
    "c": 0.12575,
    "h": 96.3
  },
  "luminance": 0.5363
}

Semantic roles & 50–950 ramp

primary
#D9C15A
secondary
#3C4E9B
accent
#3CCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C15A

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

Preview Lab → · Contrast checker → · Palette generator →

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