#D2C85A#D2C85A

#D2C85A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.132 H 104.1°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D2C85A
RGBrgb(210, 200, 90)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 57%, 82%)
CMYKcmyk(0%, 4.8%, 57.1%, 17.6%)
CIE-LABlab(79.47, -10.38, 55.15)
CIE-LCHlch(79.47, 56.12, 100.66°)
OKLaboklab(81.95% -0.0321 0.1277)
OKLCHoklch(81.95% 0.132 104.1)
XYZxyz(49.0797, 55.7501, 17.8464)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C85A #5A64D2
analogous
#D28C5A #D2C85A #A0D25A
triadic
#D2C85A #5AD2C8 #C85AD2
tetradic
#D2C85A #5AD28C #5A64D2 #D25AA0
square
#D2C85A #5AD28C #5A64D2 #D25AA0
split-complementary
#D2C85A #5AA0D2 #8C5AD2
monochromatic
#8C8326 #BCB033 #D2C85A #DFD88A #ECE8BA

Accessibility & contrast

On white

1.73
#D2C85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D2C85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C85A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C85A#FFFFFF#000000##000000
##D2C85A1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24F
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#E0BCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c85a;
/* rgb */ color: rgb(210, 200, 90);
/* oklch */ color: oklch(81.9% 0.132 104.1);
Tailwind
colors: {
  custom: {
    50: '#e2d88c',
    500: '#d2c85a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c85a;
$custom-light: #e2d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c85a",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 55,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81945,
    "c": 0.13171,
    "h": 104.1
  },
  "luminance": 0.55748
}

Semantic roles & 50–950 ramp

primary
#D2C85A
secondary
#3E4592
accent
#54E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C85A

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

Preview Lab → · Contrast checker → · Palette generator →

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