#D4CE52#D4CE52

#D4CE52 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.144 H 106.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D4CE52
RGBrgb(212, 206, 82)
HSLhsl(57, 60%, 58%)
HSVhsv(57, 61%, 83%)
CMYKcmyk(0%, 2.8%, 61.3%, 16.9%)
CIE-LABlab(81.15, -13.14, 60.56)
CIE-LCHlch(81.15, 61.97, 102.24°)
OKLaboklab(83.3% -0.041 0.1382)
OKLCHoklch(83.3% 0.144 106.5)
XYZxyz(50.7474, 58.7505, 16.6478)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE52 #5258D4
analogous
#D48D52 #D4CE52 #99D452
triadic
#D4CE52 #52D4CE #CE52D4
tetradic
#D4CE52 #52D48D #5258D4 #D45299
square
#D4CE52 #52D48D #5258D4 #D45299
split-complementary
#D4CE52 #5299D4 #8D52D4
monochromatic
#898522 #BAB42E #D4CE52 #E0DC83 #ECEAB4

Accessibility & contrast

On white

1.65
#D4CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D4CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE52
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE52#FFFFFF#000000##000000
##D4CE521.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4ce52;
/* rgb */ color: rgb(212, 206, 82);
/* oklch */ color: oklch(83.3% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e4dc88',
    500: '#d4ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce52;
$custom-light: #e4dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce52",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 57.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83301,
    "c": 0.14412,
    "h": 106.5
  },
  "luminance": 0.58749
}

Semantic roles & 50–950 ramp

primary
#D4CE52
secondary
#3B3E90
accent
#4CE344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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