#D2C85E#D2C85E

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

Color values

HEX#D2C85E
RGBrgb(210, 200, 94)
HSLhsl(55, 56%, 60%)
HSVhsv(55, 55%, 82%)
CMYKcmyk(0%, 4.8%, 55.2%, 17.6%)
CIE-LABlab(79.51, -10.07, 53.37)
CIE-LCHlch(79.51, 54.31, 100.69°)
OKLaboklab(81.99% -0.0308 0.1244)
OKLCHoklch(81.99% 0.128 103.9)
XYZxyz(49.2546, 55.8200, 18.7673)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C85E #5E68D2
analogous
#D28E5E #D2C85E #A2D25E
triadic
#D2C85E #5ED2C8 #C85ED2
tetradic
#D2C85E #5ED28E #5E68D2 #D25EA2
square
#D2C85E #5ED28E #5E68D2 #D25EA2
split-complementary
#D2C85E #5EA2D2 #8E5ED2
monochromatic
#8E8528 #BEB235 #D2C85E #DFD88E #EDE9BE

Accessibility & contrast

On white

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

On black

12.16
#D2C85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C85E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C85E#FFFFFF#000000##000000
##D2C85E1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c85e;
/* rgb */ color: rgb(210, 200, 94);
/* oklch */ color: oklch(82.0% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#e2d88f',
    500: '#d2c85e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c85e;
$custom-light: #e2d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c85e",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 54.828,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81989,
    "c": 0.12813,
    "h": 103.9
  },
  "luminance": 0.55818
}

Semantic roles & 50–950 ramp

primary
#D2C85E
secondary
#404794
accent
#55E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C85E

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

Preview Lab → · Contrast checker → · Palette generator →

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