#D2CD55#D2CD55

#D2CD55 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.141 H 106.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D2CD55
RGBrgb(210, 205, 85)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 2.4%, 59.5%, 17.6%)
CIE-LABlab(80.75, -13.27, 58.79)
CIE-LCHlch(80.75, 60.27, 102.72°)
OKLaboklab(82.95% -0.0409 0.1349)
OKLCHoklch(82.95% 0.141 106.9)
XYZxyz(50.0510, 58.0217, 17.1554)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD55 #555AD2
analogous
#D28E55 #D2CD55 #98D255
triadic
#D2CD55 #55D2CD #CD55D2
tetradic
#D2CD55 #55D28E #555AD2 #D25598
square
#D2CD55 #55D28E #555AD2 #D25598
split-complementary
#D2CD55 #5598D2 #8E55D2
monochromatic
#888424 #B9B331 #D2CD55 #DFDB85 #ECE9B6

Accessibility & contrast

On white

1.67
#D2CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D2CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD55
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD55#FFFFFF#000000##000000
##D2CD551.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC647
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#E0C1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd55;
/* rgb */ color: rgb(210, 205, 85);
/* oklch */ color: oklch(82.9% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#e3dc8a',
    500: '#d2cd55',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd55;
$custom-light: #e3dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd55",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 57.6,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82948,
    "c": 0.14093,
    "h": 106.9
  },
  "luminance": 0.5802
}

Semantic roles & 50–950 ramp

primary
#D2CD55
secondary
#3C408F
accent
#4DE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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