#D5CB50#D5CB50

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

Color values

HEX#D5CB50
RGBrgb(213, 203, 80)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 4.7%, 62.4%, 16.5%)
CIE-LABlab(80.43, -11.34, 60.65)
CIE-LCHlch(80.43, 61.70, 100.59°)
OKLaboklab(82.74% -0.0361 0.1381)
OKLCHoklch(82.74% 0.143 104.7)
XYZxyz(50.2463, 57.4390, 16.0279)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB50 #505AD5
analogous
#D58950 #D5CB50 #9CD550
triadic
#D5CB50 #50D5CB #CB50D5
tetradic
#D5CB50 #50D589 #505AD5 #D5509C
square
#D5CB50 #50D589 #505AD5 #D5509C
split-complementary
#D5CB50 #509CD5 #8950D5
monochromatic
#8A8221 #BBB02D #D5CB50 #E1DA81 #EDE8B3

Accessibility & contrast

On white

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

On black

12.49
#D5CB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB50
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB50#FFFFFF#000000##000000
##D5CB501.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC441
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#E4BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb50;
/* rgb */ color: rgb(213, 203, 80);
/* oklch */ color: oklch(82.7% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e5da86',
    500: '#d5cb50',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb50;
$custom-light: #e5da86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb50",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 55.489,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82735,
    "c": 0.14271,
    "h": 104.7
  },
  "luminance": 0.57437
}

Semantic roles & 50–950 ramp

primary
#D5CB50
secondary
#394090
accent
#50E443
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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