#D2C555#D2C555

#D2C555 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.133 H 102.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D2C555
RGBrgb(210, 197, 85)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 60%, 82%)
CMYKcmyk(0%, 6.2%, 59.5%, 17.6%)
CIE-LABlab(78.63, -9.21, 56.46)
CIE-LCHlch(78.63, 57.20, 99.26°)
OKLaboklab(81.26% -0.0293 0.1299)
OKLCHoklch(81.26% 0.133 102.7)
XYZxyz(48.1860, 54.2918, 16.5337)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C555 #5562D2
analogous
#D28655 #D2C555 #A0D255
triadic
#D2C555 #55D2C5 #C555D2
tetradic
#D2C555 #55D286 #5562D2 #D255A0
square
#D2C555 #55D286 #5562D2 #D255A0
split-complementary
#D2C555 #55A0D2 #8655D2
monochromatic
#887E24 #B9AB31 #D2C555 #DFD685 #ECE6B6

Accessibility & contrast

On white

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

On black

11.86
#D2C555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C555
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C555#FFFFFF#000000##000000
##D2C5551.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#E1B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c555;
/* rgb */ color: rgb(210, 197, 85);
/* oklch */ color: oklch(81.3% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#e3d689',
    500: '#d2c555',
    950: '#000000',
  },
}
SCSS
$custom: #d2c555;
$custom-light: #e3d689;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c555",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 85
  },
  "hsl": {
    "h": 53.76,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81262,
    "c": 0.13318,
    "h": 102.7
  },
  "luminance": 0.5429
}

Semantic roles & 50–950 ramp

primary
#D2C555
secondary
#3C458F
accent
#57E146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C555

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

Preview Lab → · Contrast checker → · Palette generator →

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