#D9C458#D9C458

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

Color values

HEX#D9C458
RGBrgb(217, 196, 88)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 9.7%, 59.4%, 14.9%)
CIE-LABlab(79.01, -5.56, 55.70)
CIE-LCHlch(79.01, 55.98, 95.70°)
OKLaboklab(81.71% -0.019 0.1285)
OKLCHoklch(81.71% 0.13 98.4)
XYZxyz(50.1186, 54.9383, 17.1948)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C458 #586DD9
analogous
#D98458 #D9C458 #ADD958
triadic
#D9C458 #58D9C4 #C458D9
tetradic
#D9C458 #58D984 #586DD9 #D958AD
square
#D9C458 #58D984 #586DD9 #D958AD
split-complementary
#D9C458 #58ADD9 #8458D9
monochromatic
#958222 #C7AE2D #D9C458 #E4D68A #F0E7BC

Accessibility & contrast

On white

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

On black

11.99
#D9C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C458
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C458#FFFFFF#000000##000000
##D9C4581.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c458;
/* rgb */ color: rgb(217, 196, 88);
/* oklch */ color: oklch(81.7% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e8d58b',
    500: '#d9c458',
    950: '#000000',
  },
}
SCSS
$custom: #d9c458;
$custom-light: #e8d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c458",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 50.233,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81713,
    "c": 0.1299,
    "h": 98.4
  },
  "luminance": 0.54936
}

Semantic roles & 50–950 ramp

primary
#D9C458
secondary
#3C4B9A
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C458

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

Preview Lab → · Contrast checker → · Palette generator →

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