#D9C95B#D9C95B

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

Color values

HEX#D9C95B
RGBrgb(217, 201, 91)
HSLhsl(52, 62%, 60%)
HSVhsv(52, 58%, 85%)
CMYKcmyk(0%, 7.4%, 58.1%, 14.9%)
CIE-LABlab(80.34, -7.91, 55.84)
CIE-LCHlch(80.34, 56.40, 98.06°)
OKLaboklab(82.78% -0.0254 0.1292)
OKLCHoklch(82.78% 0.132 101.1)
XYZxyz(51.3921, 57.2823, 18.2450)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C95B #5B6BD9
analogous
#D98A5B #D9C95B #AAD95B
triadic
#D9C95B #5BD9C9 #C95BD9
tetradic
#D9C95B #5BD98A #5B6BD9 #D95BAA
square
#D9C95B #5BD98A #5B6BD9 #D95BAA
split-complementary
#D9C95B #5BAAD9 #8A5BD9
monochromatic
#978823 #C8B52E #D9C95B #E5D98D #F0EABE

Accessibility & contrast

On white

1.69
#D9C95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D9C95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C95B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C95B#FFFFFF#000000##000000
##D9C95B1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c95b;
/* rgb */ color: rgb(217, 201, 91);
/* oklch */ color: oklch(82.8% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#e7d98d',
    500: '#d9c95b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c95b;
$custom-light: #e7d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c95b",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 52.381,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82779,
    "c": 0.13165,
    "h": 101.1
  },
  "luminance": 0.5728
}

Semantic roles & 50–950 ramp

primary
#D9C95B
secondary
#3D499B
accent
#32CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C95B

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

Preview Lab → · Contrast checker → · Palette generator →

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