#D9C95F#D9C95F

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

Color values

HEX#D9C95F
RGBrgb(217, 201, 95)
HSLhsl(52, 62%, 61%)
HSVhsv(52, 56%, 85%)
CMYKcmyk(0%, 7.4%, 56.2%, 14.9%)
CIE-LABlab(80.38, -7.62, 54.06)
CIE-LCHlch(80.38, 54.59, 98.02°)
OKLaboklab(82.82% -0.0241 0.1258)
OKLCHoklch(82.82% 0.128 100.8)
XYZxyz(51.5693, 57.3532, 19.1781)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C95F #5F6FD9
analogous
#D98C5F #D9C95F #ACD95F
triadic
#D9C95F #5FD9C9 #C95FD9
tetradic
#D9C95F #5FD98C #5F6FD9 #D95FAC
square
#D9C95F #5FD98C #5F6FD9 #D95FAC
split-complementary
#D9C95F #5FACD9 #8C5FD9
monochromatic
#998A24 #CBB630 #D9C95F #E5DA90 #F0EAC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C95F#FFFFFF#000000##000000
##D9C95F1.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)
#D9C454
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E8BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c95f;
/* rgb */ color: rgb(217, 201, 95);
/* oklch */ color: oklch(82.8% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#e7d990',
    500: '#d9c95f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c95f;
$custom-light: #e7d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c95f",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 52.131,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82823,
    "c": 0.12811,
    "h": 100.8
  },
  "luminance": 0.57351
}

Semantic roles & 50–950 ramp

primary
#D9C95F
secondary
#3F4B9E
accent
#33C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C95F

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

Preview Lab → · Contrast checker → · Palette generator →

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