#D9C658#D9C658

#D9C658 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.132 H 99.6°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D9C658
RGBrgb(217, 198, 88)
HSLhsl(51, 63%, 60%)
HSVhsv(51, 59%, 85%)
CMYKcmyk(0%, 8.8%, 59.4%, 14.9%)
CIE-LABlab(79.53, -6.59, 56.28)
CIE-LCHlch(79.53, 56.66, 96.68°)
OKLaboklab(82.13% -0.0219 0.1298)
OKLCHoklch(82.13% 0.132 99.6)
XYZxyz(50.5728, 55.8466, 17.3462)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C658 #586BD9
analogous
#D98658 #D9C658 #ABD958
triadic
#D9C658 #58D9C6 #C658D9
tetradic
#D9C658 #58D986 #586BD9 #D958AB
square
#D9C658 #58D986 #586BD9 #D958AB
split-complementary
#D9C658 #58ABD9 #8658D9
monochromatic
#958422 #C7B02D #D9C658 #E4D78A #F0E8BC

Accessibility & contrast

On white

1.73
#D9C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D9C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C658
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C658#FFFFFF#000000##000000
##D9C6581.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#E8B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c658;
/* rgb */ color: rgb(217, 198, 88);
/* oklch */ color: oklch(82.1% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#e8d78b',
    500: '#d9c658',
    950: '#000000',
  },
}
SCSS
$custom: #d9c658;
$custom-light: #e8d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c658",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 51.163,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82126,
    "c": 0.1316,
    "h": 99.6
  },
  "luminance": 0.55844
}

Semantic roles & 50–950 ramp

primary
#D9C658
secondary
#3C499A
accent
#5AE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C658

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

Preview Lab → · Contrast checker → · Palette generator →

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