#D5CE5B#D5CE5B

#D5CE5B is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.137 H 105.8°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D5CE5B
RGBrgb(213, 206, 91)
HSLhsl(57, 59%, 60%)
HSVhsv(57, 57%, 84%)
CMYKcmyk(0%, 3.3%, 57.3%, 16.5%)
CIE-LABlab(81.32, -12.10, 56.85)
CIE-LCHlch(81.32, 58.12, 102.02°)
OKLaboklab(83.48% -0.0371 0.1314)
OKLCHoklch(83.48% 0.137 105.8)
XYZxyz(51.4018, 59.0457, 18.5848)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE5B #5B62D5
analogous
#D5915B #D5CE5B #9FD55B
triadic
#D5CE5B #5BD5CE #CE5BD5
tetradic
#D5CE5B #5BD591 #5B62D5 #D55B9F
square
#D5CE5B #5BD591 #5B62D5 #D55B9F
split-complementary
#D5CE5B #5B9FD5 #915BD5
monochromatic
#918A25 #C1B932 #D5CE5B #E1DD8C #EEEBBC

Accessibility & contrast

On white

1.64
#D5CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D5CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CE5B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CE5B#FFFFFF#000000##000000
##D5CE5B1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E1CC61
Tritanopia (blue-blind)
#E3C2B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5ce5b;
/* rgb */ color: rgb(213, 206, 91);
/* oklch */ color: oklch(83.5% 0.137 105.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc8d',
    500: '#d5ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce5b;
$custom-light: #e5dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce5b",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 56.557,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83476,
    "c": 0.13655,
    "h": 105.8
  },
  "luminance": 0.59044
}

Semantic roles & 50–950 ramp

primary
#D5CE5B
secondary
#3E4396
accent
#4EE245
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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