#D2C559#D2C559

#D2C559 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.130 H 102.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D2C559
RGBrgb(210, 197, 89)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 6.2%, 57.6%, 17.6%)
CIE-LABlab(78.67, -8.92, 54.70)
CIE-LCHlch(78.67, 55.43, 99.26°)
OKLaboklab(81.31% -0.028 0.1267)
OKLCHoklch(81.31% 0.13 102.5)
XYZxyz(48.3494, 54.3572, 17.3944)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C559 #5966D2
analogous
#D28859 #D2C559 #A2D259
triadic
#D2C559 #59D2C5 #C559D2
tetradic
#D2C559 #59D288 #5966D2 #D259A2
square
#D2C559 #59D288 #5966D2 #D259A2
split-complementary
#D2C559 #59A2D2 #8859D2
monochromatic
#8B8026 #BBAC33 #D2C559 #DFD689 #ECE7B9

Accessibility & contrast

On white

1.77
#D2C559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D2C559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C559
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C559#FFFFFF#000000##000000
##D2C5591.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#E0B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c559;
/* rgb */ color: rgb(210, 197, 89);
/* oklch */ color: oklch(81.3% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e2d68c',
    500: '#d2c559',
    950: '#000000',
  },
}
SCSS
$custom: #d2c559;
$custom-light: #e2d68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c559",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 89
  },
  "hsl": {
    "h": 53.554,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81305,
    "c": 0.12973,
    "h": 102.5
  },
  "luminance": 0.54355
}

Semantic roles & 50–950 ramp

primary
#D2C559
secondary
#3E4791
accent
#58E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C559

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

Preview Lab → · Contrast checker → · Palette generator →

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