#D5C95B#D5C95B

#D5C95B is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.132 H 103.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D5C95B
RGBrgb(213, 201, 91)
HSLhsl(54, 59%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 5.6%, 57.3%, 16.5%)
CIE-LABlab(80.00, -9.57, 55.36)
CIE-LCHlch(80.00, 56.18, 99.81°)
OKLaboklab(82.43% -0.0299 0.1283)
OKLCHoklch(82.43% 0.132 103.1)
XYZxyz(50.2172, 56.6766, 18.1899)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C95B #5B67D5
analogous
#D58C5B #D5C95B #A4D55B
triadic
#D5C95B #5BD5C9 #C95BD5
tetradic
#D5C95B #5BD58C #5B67D5 #D55BA4
square
#D5C95B #5BD58C #5B67D5 #D55BA4
split-complementary
#D5C95B #5BA4D5 #8C5BD5
monochromatic
#918625 #C1B332 #D5C95B #E1D98C #EEE9BC

Accessibility & contrast

On white

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

On black

12.34
#D5C95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C95B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C95B#FFFFFF#000000##000000
##D5C95B1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#E3BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c95b;
/* rgb */ color: rgb(213, 201, 91);
/* oklch */ color: oklch(82.4% 0.132 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5d98d',
    500: '#d5c95b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c95b;
$custom-light: #e5d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c95b",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 54.098,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82427,
    "c": 0.13168,
    "h": 103.1
  },
  "luminance": 0.56675
}

Semantic roles & 50–950 ramp

primary
#D5C95B
secondary
#3E4796
accent
#55E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C95B

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

Preview Lab → · Contrast checker → · Palette generator →

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