#D2CD5A#D2CD5A

#D2CD5A is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.137 H 106.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D2CD5A
RGBrgb(210, 205, 90)
HSLhsl(58, 57%, 59%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 2.4%, 57.1%, 17.6%)
CIE-LABlab(80.80, -12.91, 56.64)
CIE-LCHlch(80.80, 58.09, 102.84°)
OKLaboklab(83% -0.0393 0.1309)
OKLCHoklch(83% 0.137 106.7)
XYZxyz(50.2567, 58.1040, 18.2387)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5A #5A5FD2
analogous
#D2915A #D2CD5A #9BD25A
triadic
#D2CD5A #5AD2CD #CD5AD2
tetradic
#D2CD5A #5AD291 #5A5FD2 #D25A9B
square
#D2CD5A #5AD291 #5A5FD2 #D25A9B
split-complementary
#D2CD5A #5A9BD2 #915AD2
monochromatic
#8C8726 #BCB633 #D2CD5A #DFDC8A #ECEABA

Accessibility & contrast

On white

1.66
#D2CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D2CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD5A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD5A#FFFFFF#000000##000000
##D2CD5A1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd5a;
/* rgb */ color: rgb(210, 205, 90);
/* oklch */ color: oklch(83.0% 0.137 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc8d',
    500: '#d2cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5a;
$custom-light: #e2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5a",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 57.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82999,
    "c": 0.13671,
    "h": 106.7
  },
  "luminance": 0.58102
}

Semantic roles & 50–950 ramp

primary
#D2CD5A
secondary
#3E4292
accent
#4EE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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