#D5CA3B#D5CA3B

#D5CA3B is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.156 H 104.9°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D5CA3B
RGBrgb(213, 202, 59)
HSLhsl(56, 65%, 53%)
HSVhsv(56, 72%, 84%)
CMYKcmyk(0%, 5.2%, 72.3%, 16.5%)
CIE-LABlab(80.01, -11.97, 68.38)
CIE-LCHlch(80.01, 69.42, 99.93°)
OKLaboklab(82.36% -0.0401 0.151)
OKLCHoklch(82.36% 0.156 104.9)
XYZxyz(49.3526, 56.7049, 12.4823)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA3B #3B46D5
analogous
#D57D3B #D5CA3B #93D53B
triadic
#D5CA3B #3BD5CA #CA3BD5
tetradic
#D5CA3B #3BD57D #3B46D5 #D53B93
square
#D5CA3B #3BD57D #3B46D5 #D53B93
split-complementary
#D5CA3B #3B93D5 #7D3BD5
monochromatic
#7B741A #AEA425 #D5CA3B #E0D86D #EBE5A0

Accessibility & contrast

On white

1.70
#D5CA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D5CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA3B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA3B#FFFFFF#000000##000000
##D5CA3B1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC321
Deuteranopia (green-blind)
#E0C945
Tritanopia (blue-blind)
#E5BCAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5ca3b;
/* rgb */ color: rgb(213, 202, 59);
/* oklch */ color: oklch(82.4% 0.156 104.9);
Tailwind
colors: {
  custom: {
    50: '#e6d97b',
    500: '#d5ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca3b;
$custom-light: #e6d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca3b",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 55.714,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8236,
    "c": 0.1562,
    "h": 104.9
  },
  "luminance": 0.56703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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