#D9C858#D9C858

#D9C858 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.133 H 100.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D9C858
RGBrgb(217, 200, 88)
HSLhsl(52, 63%, 60%)
HSVhsv(52, 59%, 85%)
CMYKcmyk(0%, 7.8%, 59.4%, 14.9%)
CIE-LABlab(80.05, -7.61, 56.86)
CIE-LCHlch(80.05, 57.37, 97.63°)
OKLaboklab(82.54% -0.0248 0.131)
OKLCHoklch(82.54% 0.133 100.7)
XYZxyz(51.0329, 56.7669, 17.4996)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C858 #5869D9
analogous
#D98858 #D9C858 #AAD958
triadic
#D9C858 #58D9C8 #C858D9
tetradic
#D9C858 #58D988 #5869D9 #D958AA
square
#D9C858 #58D988 #5869D9 #D958AA
split-complementary
#D9C858 #58AAD9 #8858D9
monochromatic
#958622 #C7B22D #D9C858 #E4D88A #F0E9BC

Accessibility & contrast

On white

1.70
#D9C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D9C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C858
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C858#FFFFFF#000000##000000
##D9C8581.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34C
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#E8BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c858;
/* rgb */ color: rgb(217, 200, 88);
/* oklch */ color: oklch(82.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#e8d88b',
    500: '#d9c858',
    950: '#000000',
  },
}
SCSS
$custom: #d9c858;
$custom-light: #e8d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c858",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 52.093,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.13334,
    "h": 100.7
  },
  "luminance": 0.56765
}

Semantic roles & 50–950 ramp

primary
#D9C858
secondary
#3C489A
accent
#57E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C858

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

Preview Lab → · Contrast checker → · Palette generator →

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