#D4CD52#D4CD52

#D4CD52 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.143 H 106.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D4CD52
RGBrgb(212, 205, 82)
HSLhsl(57, 60%, 58%)
HSVhsv(57, 61%, 83%)
CMYKcmyk(0%, 3.3%, 61.3%, 16.9%)
CIE-LABlab(80.89, -12.64, 60.28)
CIE-LCHlch(80.89, 61.59, 101.84°)
OKLaboklab(83.09% -0.0395 0.1376)
OKLCHoklch(83.09% 0.143 106)
XYZxyz(50.5074, 58.2706, 16.5678)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD52 #5259D4
analogous
#D48C52 #D4CD52 #9AD452
triadic
#D4CD52 #52D4CD #CD52D4
tetradic
#D4CD52 #52D48C #5259D4 #D4529A
square
#D4CD52 #52D48C #5259D4 #D4529A
split-complementary
#D4CD52 #529AD4 #8C52D4
monochromatic
#898422 #BAB32E #D4CD52 #E0DB83 #ECE9B4

Accessibility & contrast

On white

1.66
#D4CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D4CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD52
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD52#FFFFFF#000000##000000
##D4CD521.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd52;
/* rgb */ color: rgb(212, 205, 82);
/* oklch */ color: oklch(83.1% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e4dc88',
    500: '#d4cd52',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd52;
$custom-light: #e4dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd52",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 56.769,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.14314,
    "h": 106
  },
  "luminance": 0.58269
}

Semantic roles & 50–950 ramp

primary
#D4CD52
secondary
#3B3F90
accent
#4DE344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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