#D9C758#D9C758

#D9C758 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.132 H 100.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D9C758
RGBrgb(217, 199, 88)
HSLhsl(52, 63%, 60%)
HSVhsv(52, 59%, 85%)
CMYKcmyk(0%, 8.3%, 59.4%, 14.9%)
CIE-LABlab(79.79, -7.10, 56.57)
CIE-LCHlch(79.79, 57.01, 97.16°)
OKLaboklab(82.33% -0.0234 0.1304)
OKLCHoklch(82.33% 0.132 100.2)
XYZxyz(50.8021, 56.3052, 17.4226)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C758 #586AD9
analogous
#D98758 #D9C758 #ABD958
triadic
#D9C758 #58D9C7 #C758D9
tetradic
#D9C758 #58D987 #586AD9 #D958AB
square
#D9C758 #58D987 #586AD9 #D958AB
split-complementary
#D9C758 #58ABD9 #8758D9
monochromatic
#958522 #C7B12D #D9C758 #E4D88A #F0E8BC

Accessibility & contrast

On white

1.71
#D9C758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D9C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C758
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C758#FFFFFF#000000##000000
##D9C7581.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#E8BAAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c758;
/* rgb */ color: rgb(217, 199, 88);
/* oklch */ color: oklch(82.3% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#e8d78b',
    500: '#d9c758',
    950: '#000000',
  },
}
SCSS
$custom: #d9c758;
$custom-light: #e8d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c758",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 51.628,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82333,
    "c": 0.13246,
    "h": 100.2
  },
  "luminance": 0.56303
}

Semantic roles & 50–950 ramp

primary
#D9C758
secondary
#3C499A
accent
#59E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C758

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

Preview Lab → · Contrast checker → · Palette generator →

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