#D2C552#D2C552

#D2C552 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.136 H 102.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D2C552
RGBrgb(210, 197, 82)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 61%, 82%)
CMYKcmyk(0%, 6.2%, 61%, 17.6%)
CIE-LABlab(78.60, -9.41, 57.75)
CIE-LCHlch(78.60, 58.51, 99.26°)
OKLaboklab(81.23% -0.0302 0.1323)
OKLCHoklch(81.23% 0.136 102.9)
XYZxyz(48.0694, 54.2452, 15.9193)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C552 #525FD2
analogous
#D28552 #D2C552 #9FD252
triadic
#D2C552 #52D2C5 #C552D2
tetradic
#D2C552 #52D285 #525FD2 #D2529F
square
#D2C552 #52D285 #525FD2 #D2529F
split-complementary
#D2C552 #529FD2 #8552D2
monochromatic
#877C23 #B7A930 #D2C552 #DFD583 #EBE6B3

Accessibility & contrast

On white

1.77
#D2C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#D2C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C552
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C552#FFFFFF#000000##000000
##D2C5521.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c552;
/* rgb */ color: rgb(210, 197, 82);
/* oklch */ color: oklch(81.2% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e3d687',
    500: '#d2c552',
    950: '#000000',
  },
}
SCSS
$custom: #d2c552;
$custom-light: #e3d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c552",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 53.906,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81232,
    "c": 0.13568,
    "h": 102.9
  },
  "luminance": 0.54243
}

Semantic roles & 50–950 ramp

primary
#D2C552
secondary
#3B438D
accent
#56E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C552

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

Preview Lab → · Contrast checker → · Palette generator →

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