#D5C95E#D5C95E

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

Color values

HEX#D5C95E
RGBrgb(213, 201, 94)
HSLhsl(54, 59%, 60%)
HSVhsv(54, 56%, 84%)
CMYKcmyk(0%, 5.6%, 55.9%, 16.5%)
CIE-LABlab(80.03, -9.35, 54.03)
CIE-LCHlch(80.03, 54.83, 99.81°)
OKLaboklab(82.46% -0.0289 0.1257)
OKLCHoklch(82.46% 0.129 102.9)
XYZxyz(50.3493, 56.7294, 18.8852)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C95E #5E6AD5
analogous
#D58E5E #D5C95E #A5D55E
triadic
#D5C95E #5ED5C9 #C95ED5
tetradic
#D5C95E #5ED58E #5E6AD5 #D55EA5
square
#D5C95E #5ED58E #5E6AD5 #D55EA5
split-complementary
#D5C95E #5EA5D5 #8E5ED5
monochromatic
#928726 #C3B433 #D5C95E #E2D98F #EEEABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C95E#FFFFFF#000000##000000
##D5C95E1.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)
#D9C353
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#E3BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c95e;
/* rgb */ color: rgb(213, 201, 94);
/* oklch */ color: oklch(82.5% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d98f',
    500: '#d5c95e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c95e;
$custom-light: #e4d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c95e",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 53.95,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8246,
    "c": 0.12901,
    "h": 102.9
  },
  "luminance": 0.56728
}

Semantic roles & 50–950 ramp

primary
#D5C95E
secondary
#3F4898
accent
#30C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C95E

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

Preview Lab → · Contrast checker → · Palette generator →

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