#D5CE52#D5CE52

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

Color values

HEX#D5CE52
RGBrgb(213, 206, 82)
HSLhsl(57, 61%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 3.3%, 61.5%, 16.5%)
CIE-LABlab(81.24, -12.72, 60.67)
CIE-LCHlch(81.24, 61.99, 101.84°)
OKLaboklab(83.39% -0.0398 0.1384)
OKLCHoklch(83.39% 0.144 106.1)
XYZxyz(51.0366, 58.8996, 16.6614)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CE52 #5259D5
analogous
#D58C52 #D5CE52 #9AD552
triadic
#D5CE52 #52D5CE #CE52D5
tetradic
#D5CE52 #52D58C #5259D5 #D5529A
square
#D5CE52 #52D58C #5259D5 #D5529A
split-complementary
#D5CE52 #529AD5 #8C52D5
monochromatic
#8B8522 #BCB52E #D5CE52 #E1DC83 #EDEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CE52#FFFFFF#000000##000000
##D5CE521.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)
#DEC743
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#E4C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5ce52;
/* rgb */ color: rgb(213, 206, 82);
/* oklch */ color: oklch(83.4% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#e5dc88',
    500: '#d5ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d5ce52;
$custom-light: #e5dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ce52",
  "rgb": {
    "r": 213,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 56.794,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.14401,
    "h": 106.1
  },
  "luminance": 0.58898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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