#D5CB4E#D5CB4E

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

Color values

HEX#D5CB4E
RGBrgb(213, 203, 78)
HSLhsl(56, 62%, 57%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.7%, 63.4%, 16.5%)
CIE-LABlab(80.41, -11.46, 61.47)
CIE-LCHlch(80.41, 62.53, 100.56°)
OKLaboklab(82.72% -0.0367 0.1395)
OKLCHoklch(82.72% 0.144 104.7)
XYZxyz(50.1735, 57.4099, 15.6445)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB4E #4E58D5
analogous
#D5884E #D5CB4E #9BD54E
triadic
#D5CB4E #4ED5CB #CB4ED5
tetradic
#D5CB4E #4ED588 #4E58D5 #D54E9B
square
#D5CB4E #4ED588 #4E58D5 #D54E9B
split-complementary
#D5CB4E #4E9BD5 #884ED5
monochromatic
#888120 #BAAF2C #D5CB4E #E1DA7F #ECE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CB4E#FFFFFF#000000##000000
##D5CB4E1.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)
#DCC43E
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#E4BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb4e;
/* rgb */ color: rgb(213, 203, 78);
/* oklch */ color: oklch(82.7% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e5da85',
    500: '#d5cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb4e;
$custom-light: #e5da85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb4e",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 55.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.14425,
    "h": 104.7
  },
  "luminance": 0.57408
}

Semantic roles & 50–950 ramp

primary
#D5CB4E
secondary
#393F8F
accent
#4FE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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