#D5CB4C#D5CB4C

#D5CB4C is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.146 H 104.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D5CB4C
RGBrgb(213, 203, 76)
HSLhsl(56, 62%, 57%)
HSVhsv(56, 64%, 84%)
CMYKcmyk(0%, 4.7%, 64.3%, 16.5%)
CIE-LABlab(80.39, -11.59, 62.28)
CIE-LCHlch(80.39, 63.35, 100.54°)
OKLaboklab(82.7% -0.0373 0.1409)
OKLCHoklch(82.7% 0.146 104.8)
XYZxyz(50.1029, 57.3816, 15.2726)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB4C #4C56D5
analogous
#D5864C #D5CB4C #9BD54C
triadic
#D5CB4C #4CD5CB #CB4CD5
tetradic
#D5CB4C #4CD586 #4C56D5 #D54C9B
square
#D5CB4C #4CD586 #4C56D5 #D54C9B
split-complementary
#D5CB4C #4C9BD5 #864CD5
monochromatic
#877F20 #B9AE2B #D5CB4C #E1D97E #ECE8AF

Accessibility & contrast

On white

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

On black

12.48
#D5CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB4C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB4C#FFFFFF#000000##000000
##D5CB4C1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#E0CA54
Tritanopia (blue-blind)
#E4BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb4c;
/* rgb */ color: rgb(213, 203, 76);
/* oklch */ color: oklch(82.7% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5da84',
    500: '#d5cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb4c;
$custom-light: #e5da84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb4c",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 55.62,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.827,
    "c": 0.14575,
    "h": 104.8
  },
  "luminance": 0.5738
}

Semantic roles & 50–950 ramp

primary
#D5CB4C
secondary
#383E8D
accent
#4FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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