#D5CB58#D5CB58

#D5CB58 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.136 H 104.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D5CB58
RGBrgb(213, 203, 88)
HSLhsl(55, 60%, 59%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 4.7%, 58.7%, 16.5%)
CIE-LABlab(80.50, -10.80, 57.26)
CIE-LCHlch(80.50, 58.27, 100.68°)
OKLaboklab(82.81% -0.0337 0.132)
OKLCHoklch(82.81% 0.136 104.3)
XYZxyz(50.5597, 57.5643, 17.6784)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB58 #5862D5
analogous
#D58D58 #D5CB58 #A1D558
triadic
#D5CB58 #58D5CB #CB58D5
tetradic
#D5CB58 #58D58D #5862D5 #D558A1
square
#D5CB58 #58D58D #5862D5 #D558A1
split-complementary
#D5CB58 #58A1D5 #8D58D5
monochromatic
#8F8624 #C0B430 #D5CB58 #E1DA89 #EEE9BA

Accessibility & contrast

On white

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

On black

12.51
#D5CB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB58
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB58#FFFFFF#000000##000000
##D5CB581.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54C
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb58;
/* rgb */ color: rgb(213, 203, 88);
/* oklch */ color: oklch(82.8% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e5da8b',
    500: '#d5cb58',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb58;
$custom-light: #e5da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb58",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 55.2,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82814,
    "c": 0.13619,
    "h": 104.3
  },
  "luminance": 0.57563
}

Semantic roles & 50–950 ramp

primary
#D5CB58
secondary
#3D4494
accent
#51E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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