#D2C759#D2C759

#D2C759 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.132 H 103.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D2C759
RGBrgb(210, 199, 89)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 58%, 82%)
CMYKcmyk(0%, 5.2%, 57.6%, 17.6%)
CIE-LABlab(79.20, -9.94, 55.30)
CIE-LCHlch(79.20, 56.18, 100.19°)
OKLaboklab(81.72% -0.031 0.1279)
OKLCHoklch(81.72% 0.132 103.6)
XYZxyz(48.8066, 55.2715, 17.5468)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C759 #5964D2
analogous
#D28A59 #D2C759 #A0D259
triadic
#D2C759 #59D2C7 #C759D2
tetradic
#D2C759 #59D28A #5964D2 #D259A0
square
#D2C759 #59D28A #5964D2 #D259A0
split-complementary
#D2C759 #59A0D2 #8A59D2
monochromatic
#8B8226 #BBAF33 #D2C759 #DFD789 #ECE7B9

Accessibility & contrast

On white

1.74
#D2C759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D2C759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C759
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C759#FFFFFF#000000##000000
##D2C7591.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14D
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#E0BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c759;
/* rgb */ color: rgb(210, 199, 89);
/* oklch */ color: oklch(81.7% 0.132 103.6);
Tailwind
colors: {
  custom: {
    50: '#e2d78c',
    500: '#d2c759',
    950: '#000000',
  },
}
SCSS
$custom: #d2c759;
$custom-light: #e2d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c759",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 54.545,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81724,
    "c": 0.13163,
    "h": 103.6
  },
  "luminance": 0.5527
}

Semantic roles & 50–950 ramp

primary
#D2C759
secondary
#3E4691
accent
#55E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C759

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

Preview Lab → · Contrast checker → · Palette generator →

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