#D5CE51#D5CE51

#D5CE51 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.145 H 106.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D5CE51
RGBrgb(213, 206, 81)
HSLhsl(57, 61%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 3.3%, 62%, 16.5%)
CIE-LABlab(81.23, -12.79, 61.09)
CIE-LCHlch(81.23, 62.41, 101.82°)
OKLaboklab(83.38% -0.0401 0.1391)
OKLCHoklch(83.38% 0.145 106.1)
XYZxyz(50.9988, 58.8845, 16.4624)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE51 #5158D5
analogous
#D58C51 #D5CE51 #9AD551
triadic
#D5CE51 #51D5CE #CE51D5
tetradic
#D5CE51 #51D58C #5158D5 #D5519A
square
#D5CE51 #51D58C #5158D5 #D5519A
split-complementary
#D5CE51 #519AD5 #8C51D5
monochromatic
#8A8521 #BCB42D #D5CE51 #E1DC82 #EDEAB4

Accessibility & contrast

On white

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

On black

12.78
#D5CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CE51
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CE51#FFFFFF#000000##000000
##D5CE511.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC742
Deuteranopia (green-blind)
#E2CC58
Tritanopia (blue-blind)
#E4C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5ce51;
/* rgb */ color: rgb(213, 206, 81);
/* oklch */ color: oklch(83.4% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e5dc87',
    500: '#d5ce51',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce51;
$custom-light: #e5dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce51",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 56.818,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83377,
    "c": 0.1448,
    "h": 106.1
  },
  "luminance": 0.58883
}

Semantic roles & 50–950 ramp

primary
#D5CE51
secondary
#3A3E90
accent
#4CE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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