#D0C552#D0C552

#D0C552 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.136 H 103.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D0C552
RGBrgb(208, 197, 82)
HSLhsl(55, 57%, 57%)
HSVhsv(55, 61%, 82%)
CMYKcmyk(0%, 5.3%, 60.6%, 18.4%)
CIE-LABlab(78.43, -10.25, 57.51)
CIE-LCHlch(78.43, 58.42, 100.11°)
OKLaboklab(81.06% -0.0325 0.1318)
OKLCHoklch(81.06% 0.136 103.9)
XYZxyz(47.5034, 53.9533, 15.8928)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C552 #525DD0
analogous
#D08652 #D0C552 #9CD052
triadic
#D0C552 #52D0C5 #C552D0
tetradic
#D0C552 #52D086 #525DD0 #D0529C
square
#D0C552 #52D086 #525DD0 #D0529C
split-complementary
#D0C552 #529CD0 #8652D0
monochromatic
#847B24 #B4A831 #D0C552 #DDD582 #EAE5B2

Accessibility & contrast

On white

1.78
#D0C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D0C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C552
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C552#FFFFFF#000000##000000
##D0C5521.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#DEB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c552;
/* rgb */ color: rgb(208, 197, 82);
/* oklch */ color: oklch(81.1% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d687',
    500: '#d0c552',
    950: '#000000',
  },
}
SCSS
$custom: #d0c552;
$custom-light: #e1d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c552",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 54.762,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81056,
    "c": 0.13576,
    "h": 103.9
  },
  "luminance": 0.53952
}

Semantic roles & 50–950 ramp

primary
#D0C552
secondary
#3B428B
accent
#55E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C552

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

Preview Lab → · Contrast checker → · Palette generator →

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