#D5CB62#D5CB62

#D5CB62 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.127 H 103.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D5CB62
RGBrgb(213, 203, 98)
HSLhsl(55, 58%, 61%)
HSVhsv(55, 54%, 84%)
CMYKcmyk(0%, 4.7%, 54%, 16.5%)
CIE-LABlab(80.59, -10.05, 52.83)
CIE-LCHlch(80.59, 53.78, 100.77°)
OKLaboklab(82.92% -0.0305 0.1236)
OKLCHoklch(82.92% 0.127 103.8)
XYZxyz(51.0027, 57.7415, 20.0115)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB62 #626CD5
analogous
#D59162 #D5CB62 #A5D562
triadic
#D5CB62 #62D5CB #CB62D5
tetradic
#D5CB62 #62D591 #626CD5 #D562A5
square
#D5CB62 #62D591 #626CD5 #D562A5
split-complementary
#D5CB62 #62A5D5 #9162D5
monochromatic
#958B28 #C5B935 #D5CB62 #E2DB92 #EFEBC3

Accessibility & contrast

On white

1.67
#D5CB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D5CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB62
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB62#FFFFFF#000000##000000
##D5CB621.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#E3BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb62;
/* rgb */ color: rgb(213, 203, 98);
/* oklch */ color: oklch(82.9% 0.127 103.8);
Tailwind
colors: {
  custom: {
    50: '#e4da92',
    500: '#d5cb62',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb62;
$custom-light: #e4da92;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb62",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 54.783,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82924,
    "c": 0.12729,
    "h": 103.8
  },
  "luminance": 0.5774
}

Semantic roles & 50–950 ramp

primary
#D5CB62
secondary
#41499A
accent
#2EC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CB62

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

Preview Lab → · Contrast checker → · Palette generator →

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