#D5C95F#D5C95F

#D5C95F is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.128 H 102.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D5C95F
RGBrgb(213, 201, 95)
HSLhsl(54, 58%, 60%)
HSVhsv(54, 55%, 84%)
CMYKcmyk(0%, 5.6%, 55.4%, 16.5%)
CIE-LABlab(80.04, -9.27, 53.58)
CIE-LCHlch(80.04, 54.37, 99.81°)
OKLaboklab(82.47% -0.0285 0.1249)
OKLCHoklch(82.47% 0.128 102.9)
XYZxyz(50.3944, 56.7474, 19.1230)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C95F #5F6BD5
analogous
#D58E5F #D5C95F #A6D55F
triadic
#D5C95F #5FD5C9 #C95FD5
tetradic
#D5C95F #5FD58E #5F6BD5 #D55FA6
square
#D5C95F #5FD58E #5F6BD5 #D55FA6
split-complementary
#D5C95F #5FA6D5 #8E5FD5
monochromatic
#938827 #C3B533 #D5C95F #E2D98F #EEEAC0

Accessibility & contrast

On white

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

On black

12.35
#D5C95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C95F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C95F#FFFFFF#000000##000000
##D5C95F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c95f;
/* rgb */ color: rgb(213, 201, 95);
/* oklch */ color: oklch(82.5% 0.128 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d990',
    500: '#d5c95f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c95f;
$custom-light: #e4d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c95f",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 53.898,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82471,
    "c": 0.1281,
    "h": 102.9
  },
  "luminance": 0.56746
}

Semantic roles & 50–950 ramp

primary
#D5C95F
secondary
#404998
accent
#30C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C95F

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

Preview Lab → · Contrast checker → · Palette generator →

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