#D2C85B#D2C85B

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

Color values

HEX#D2C85B
RGBrgb(210, 200, 91)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 57%, 82%)
CMYKcmyk(0%, 4.8%, 56.7%, 17.6%)
CIE-LABlab(79.48, -10.30, 54.71)
CIE-LCHlch(79.48, 55.67, 100.67°)
OKLaboklab(81.96% -0.0318 0.1269)
OKLCHoklch(81.96% 0.131 104.1)
XYZxyz(49.1225, 55.7672, 18.0721)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C85B #5B65D2
analogous
#D28D5B #D2C85B #A1D25B
triadic
#D2C85B #5BD2C8 #C85BD2
tetradic
#D2C85B #5BD28D #5B65D2 #D25BA1
square
#D2C85B #5BD28D #5B65D2 #D25BA1
split-complementary
#D2C85B #5BA1D2 #8D5BD2
monochromatic
#8C8426 #BCB134 #D2C85B #DFD88B #ECE8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C85B#FFFFFF#000000##000000
##D2C85B1.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)
#D8C250
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#E0BCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c85b;
/* rgb */ color: rgb(210, 200, 91);
/* oklch */ color: oklch(82.0% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#e2d88d',
    500: '#d2c85b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c85b;
$custom-light: #e2d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c85b",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 54.958,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.13084,
    "h": 104.1
  },
  "luminance": 0.55766
}

Semantic roles & 50–950 ramp

primary
#D2C85B
secondary
#3F4692
accent
#54E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C85B

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

Preview Lab → · Contrast checker → · Palette generator →

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