#D0CD52#D0CD52

#D0CD52 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.144 H 107.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D0CD52
RGBrgb(208, 205, 82)
HSLhsl(59, 57%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1.4%, 60.6%, 18.4%)
CIE-LABlab(80.56, -14.30, 59.83)
CIE-LCHlch(80.56, 61.51, 103.44°)
OKLaboklab(82.75% -0.044 0.1367)
OKLCHoklch(82.75% 0.144 107.8)
XYZxyz(49.3683, 57.6832, 16.5144)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD52 #5255D0
analogous
#D08E52 #D0CD52 #94D052
triadic
#D0CD52 #52D0CD #CD52D0
tetradic
#D0CD52 #52D08E #5255D0 #D05294
square
#D0CD52 #52D08E #5255D0 #D05294
split-complementary
#D0CD52 #5294D0 #8E52D0
monochromatic
#848224 #B4B131 #D0CD52 #DDDB82 #EAE9B2

Accessibility & contrast

On white

1.68
#D0CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D0CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD52
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD52#FFFFFF#000000##000000
##D0CD521.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DEC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd52;
/* rgb */ color: rgb(208, 205, 82);
/* oklch */ color: oklch(82.8% 0.144 107.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc88',
    500: '#d0cd52',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd52;
$custom-light: #e1dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd52",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 58.571,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8275,
    "c": 0.14363,
    "h": 107.8
  },
  "luminance": 0.57682
}

Semantic roles & 50–950 ramp

primary
#D0CD52
secondary
#3B3D8B
accent
#4BE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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