#D5CE5F#D5CE5F

#D5CE5F is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.133 H 105.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D5CE5F
RGBrgb(213, 206, 95)
HSLhsl(56, 58%, 60%)
HSVhsv(56, 55%, 84%)
CMYKcmyk(0%, 3.3%, 55.4%, 16.5%)
CIE-LABlab(81.36, -11.80, 55.09)
CIE-LCHlch(81.36, 56.34, 102.09°)
OKLaboklab(83.52% -0.0358 0.1281)
OKLCHoklch(83.52% 0.133 105.6)
XYZxyz(51.5790, 59.1166, 19.5179)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE5F #5F66D5
analogous
#D5935F #D5CE5F #A1D55F
triadic
#D5CE5F #5FD5CE #CE5FD5
tetradic
#D5CE5F #5FD593 #5F66D5 #D55FA1
square
#D5CE5F #5FD593 #5F66D5 #D55FA1
split-complementary
#D5CE5F #5FA1D5 #935FD5
monochromatic
#938D27 #C3BB33 #D5CE5F #E2DD8F #EEECC0

Accessibility & contrast

On white

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

On black

12.82
#D5CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CE5F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CE5F#FFFFFF#000000##000000
##D5CE5F1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ce5f;
/* rgb */ color: rgb(213, 206, 95);
/* oklch */ color: oklch(83.5% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#e4dc90',
    500: '#d5ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce5f;
$custom-light: #e4dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce5f",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 56.441,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83519,
    "c": 0.13303,
    "h": 105.6
  },
  "luminance": 0.59115
}

Semantic roles & 50–950 ramp

primary
#D5CE5F
secondary
#404598
accent
#29C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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