#D2C859#D2C859

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

Color values

HEX#D2C859
RGBrgb(210, 200, 89)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 58%, 82%)
CMYKcmyk(0%, 4.8%, 57.6%, 17.6%)
CIE-LABlab(79.46, -10.45, 55.59)
CIE-LCHlch(79.46, 56.57, 100.65°)
OKLaboklab(81.93% -0.0324 0.1286)
OKLCHoklch(81.93% 0.133 104.2)
XYZxyz(49.0374, 55.7331, 17.6237)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C859 #5963D2
analogous
#D28B59 #D2C859 #9FD259
triadic
#D2C859 #59D2C8 #C859D2
tetradic
#D2C859 #59D28B #5963D2 #D2599F
square
#D2C859 #59D28B #5963D2 #D2599F
split-complementary
#D2C859 #599FD2 #8B59D2
monochromatic
#8B8326 #BBB033 #D2C859 #DFD889 #ECE8B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C859#FFFFFF#000000##000000
##D2C8591.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)
#D8C24D
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#E0BCB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c859;
/* rgb */ color: rgb(210, 200, 89);
/* oklch */ color: oklch(81.9% 0.133 104.2);
Tailwind
colors: {
  custom: {
    50: '#e2d88c',
    500: '#d2c859',
    950: '#000000',
  },
}
SCSS
$custom: #d2c859;
$custom-light: #e2d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c859",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 55.041,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81934,
    "c": 0.1326,
    "h": 104.2
  },
  "luminance": 0.55731
}

Semantic roles & 50–950 ramp

primary
#D2C859
secondary
#3E4591
accent
#54E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C859

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

Preview Lab → · Contrast checker → · Palette generator →

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