#D9C95E#D9C95E

#D9C95E is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.129 H 100.9°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D9C95E
RGBrgb(217, 201, 94)
HSLhsl(52, 62%, 61%)
HSVhsv(52, 57%, 85%)
CMYKcmyk(0%, 7.4%, 56.7%, 14.9%)
CIE-LABlab(80.37, -7.69, 54.51)
CIE-LCHlch(80.37, 55.05, 98.03°)
OKLaboklab(82.81% -0.0244 0.1267)
OKLCHoklch(82.81% 0.129 100.9)
XYZxyz(51.5241, 57.3351, 18.9403)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C95E #5E6ED9
analogous
#D98B5E #D9C95E #ABD95E
triadic
#D9C95E #5ED9C9 #C95ED9
tetradic
#D9C95E #5ED98B #5E6ED9 #D95EAB
square
#D9C95E #5ED98B #5E6ED9 #D95EAB
split-complementary
#D9C95E #5EABD9 #8B5ED9
monochromatic
#998924 #CAB630 #D9C95E #E5DA90 #F0EAC1

Accessibility & contrast

On white

1.68
#D9C95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D9C95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C95E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C95E#FFFFFF#000000##000000
##D9C95E1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC453
Deuteranopia (green-blind)
#DECA63
Tritanopia (blue-blind)
#E8BCB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c95e;
/* rgb */ color: rgb(217, 201, 94);
/* oklch */ color: oklch(82.8% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#e7d98f',
    500: '#d9c95e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c95e;
$custom-light: #e7d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c95e",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 52.195,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82812,
    "c": 0.12901,
    "h": 100.9
  },
  "luminance": 0.57333
}

Semantic roles & 50–950 ramp

primary
#D9C95E
secondary
#3E4B9D
accent
#33CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C95E

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

Preview Lab → · Contrast checker → · Palette generator →

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