#D9C154#D9C154

#D9C154 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.131 H 96.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D9C154
RGBrgb(217, 193, 84)
HSLhsl(49, 64%, 59%)
HSVhsv(49, 61%, 85%)
CMYKcmyk(0%, 11.1%, 61.3%, 14.9%)
CIE-LABlab(78.19, -4.29, 56.59)
CIE-LCHlch(78.19, 56.75, 94.33°)
OKLaboklab(81.05% -0.0158 0.1299)
OKLCHoklch(81.05% 0.131 96.9)
XYZxyz(49.2876, 53.5340, 16.1227)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C154 #546CD9
analogous
#D97F54 #D9C154 #AFD954
triadic
#D9C154 #54D9C1 #C154D9
tetradic
#D9C154 #54D97F #546CD9 #D954AF
square
#D9C154 #54D97F #546CD9 #D954AF
split-complementary
#D9C154 #54AFD9 #7F54D9
monochromatic
#927E20 #C4A92C #D9C154 #E4D386 #EFE5B8

Accessibility & contrast

On white

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

On black

11.71
#D9C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C154
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C154#FFFFFF#000000##000000
##D9C1541.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#E9B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c154;
/* rgb */ color: rgb(217, 193, 84);
/* oklch */ color: oklch(81.1% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#e8d388',
    500: '#d9c154',
    950: '#000000',
  },
}
SCSS
$custom: #d9c154;
$custom-light: #e8d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c154",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 49.173,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81055,
    "c": 0.13083,
    "h": 96.9
  },
  "luminance": 0.53532
}

Semantic roles & 50–950 ramp

primary
#D9C154
secondary
#3A4B97
accent
#5FE741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C154

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

Preview Lab → · Contrast checker → · Palette generator →

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