#D5CB5F#D5CB5F

#D5CB5F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.130 H 104.0°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D5CB5F
RGBrgb(213, 203, 95)
HSLhsl(55, 58%, 60%)
HSVhsv(55, 55%, 84%)
CMYKcmyk(0%, 4.7%, 55.4%, 16.5%)
CIE-LABlab(80.56, -10.29, 54.18)
CIE-LCHlch(80.56, 55.15, 100.75°)
OKLaboklab(82.89% -0.0315 0.1262)
OKLCHoklch(82.89% 0.13 104)
XYZxyz(50.8637, 57.6859, 19.2795)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB5F #5F69D5
analogous
#D5905F #D5CB5F #A4D55F
triadic
#D5CB5F #5FD5CB #CB5FD5
tetradic
#D5CB5F #5FD590 #5F69D5 #D55FA4
square
#D5CB5F #5FD590 #5F69D5 #D55FA4
split-complementary
#D5CB5F #5FA4D5 #905FD5
monochromatic
#938A27 #C3B733 #D5CB5F #E2DB8F #EEEBC0

Accessibility & contrast

On white

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

On black

12.54
#D5CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB5F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB5F#FFFFFF#000000##000000
##D5CB5F1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E3BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb5f;
/* rgb */ color: rgb(213, 203, 95);
/* oklch */ color: oklch(82.9% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#e4da90',
    500: '#d5cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb5f;
$custom-light: #e4da90;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb5f",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 54.915,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8289,
    "c": 0.13005,
    "h": 104
  },
  "luminance": 0.57684
}

Semantic roles & 50–950 ramp

primary
#D5CB5F
secondary
#404798
accent
#2EC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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