#D5CB3B#D5CB3B

#D5CB3B is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.157 H 105.3°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D5CB3B
RGBrgb(213, 203, 59)
HSLhsl(56, 65%, 53%)
HSVhsv(56, 72%, 84%)
CMYKcmyk(0%, 4.7%, 72.3%, 16.5%)
CIE-LABlab(80.28, -12.48, 68.64)
CIE-LCHlch(80.28, 69.76, 100.30°)
OKLaboklab(82.57% -0.0415 0.1515)
OKLCHoklch(82.57% 0.157 105.3)
XYZxyz(49.5880, 57.1757, 12.5608)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB3B #3B45D5
analogous
#D57E3B #D5CB3B #92D53B
triadic
#D5CB3B #3BD5CB #CB3BD5
tetradic
#D5CB3B #3BD57E #3B45D5 #D53B92
square
#D5CB3B #3BD57E #3B45D5 #D53B92
split-complementary
#D5CB3B #3B92D5 #7E3BD5
monochromatic
#7B751A #AEA525 #D5CB3B #E0D86D #EBE6A0

Accessibility & contrast

On white

1.69
#D5CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D5CB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB3B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB3B#FFFFFF#000000##000000
##D5CB3B1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#E0CA45
Tritanopia (blue-blind)
#E5BDAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb3b;
/* rgb */ color: rgb(213, 203, 59);
/* oklch */ color: oklch(82.6% 0.157 105.3);
Tailwind
colors: {
  custom: {
    50: '#e6da7b',
    500: '#d5cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb3b;
$custom-light: #e6da7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb3b",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 56.104,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82571,
    "c": 0.15709,
    "h": 105.3
  },
  "luminance": 0.57174
}

Semantic roles & 50–950 ramp

primary
#D5CB3B
secondary
#313783
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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