#D9C455#D9C455

#D9C455 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.7% C 0.132 H 98.6°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#D9C455
RGBrgb(217, 196, 85)
HSLhsl(50, 63%, 59%)
HSVhsv(50, 61%, 85%)
CMYKcmyk(0%, 9.7%, 60.8%, 14.9%)
CIE-LABlab(78.98, -5.77, 57.01)
CIE-LCHlch(78.98, 57.30, 95.78°)
OKLaboklab(81.68% -0.0199 0.1309)
OKLCHoklch(81.68% 0.132 98.6)
XYZxyz(49.9969, 54.8896, 16.5538)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C455 #556AD9
analogous
#D98255 #D9C455 #ACD955
triadic
#D9C455 #55D9C4 #C455D9
tetradic
#D9C455 #55D982 #556AD9 #D955AC
square
#D9C455 #55D982 #556AD9 #D955AC
split-complementary
#D9C455 #55ACD9 #8255D9
monochromatic
#938121 #C5AC2C #D9C455 #E4D587 #EFE7B9

Accessibility & contrast

On white

1.75
#D9C455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#D9C455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C455
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C455#FFFFFF#000000##000000
##D9C4551.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#E9B7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c455;
/* rgb */ color: rgb(217, 196, 85);
/* oklch */ color: oklch(81.7% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#e8d589',
    500: '#d9c455',
    950: '#000000',
  },
}
SCSS
$custom: #d9c455;
$custom-light: #e8d589;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c455",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 50.455,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81682,
    "c": 0.13242,
    "h": 98.6
  },
  "luminance": 0.54887
}

Semantic roles & 50–950 ramp

primary
#D9C455
secondary
#3A4998
accent
#5CE641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C455

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

Preview Lab → · Contrast checker → · Palette generator →

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