#D2CC55#D2CC55

#D2CC55 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.140 H 106.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D2CC55
RGBrgb(210, 204, 85)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 2.9%, 59.5%, 17.6%)
CIE-LABlab(80.48, -12.76, 58.50)
CIE-LCHlch(80.48, 59.87, 102.31°)
OKLaboklab(82.74% -0.0394 0.1343)
OKLCHoklch(82.74% 0.14 106.4)
XYZxyz(49.8125, 57.5448, 17.0759)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC55 #555BD2
analogous
#D28D55 #D2CC55 #99D255
triadic
#D2CC55 #55D2CC #CC55D2
tetradic
#D2CC55 #55D28D #555BD2 #D25599
square
#D2CC55 #55D28D #555BD2 #D25599
split-complementary
#D2CC55 #5599D2 #8D55D2
monochromatic
#888424 #B9B231 #D2CC55 #DFDB85 #ECE9B6

Accessibility & contrast

On white

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

On black

12.51
#D2CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC55
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC55#FFFFFF#000000##000000
##D2CC551.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC548
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#E0C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc55;
/* rgb */ color: rgb(210, 204, 85);
/* oklch */ color: oklch(82.7% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#e3db89',
    500: '#d2cc55',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc55;
$custom-light: #e3db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc55",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 57.12,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82736,
    "c": 0.13993,
    "h": 106.4
  },
  "luminance": 0.57543
}

Semantic roles & 50–950 ramp

primary
#D2CC55
secondary
#3C408F
accent
#4EE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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