#D2C059#D2C059

#D2C059 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.125 H 99.5°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D2C059
RGBrgb(210, 192, 89)
HSLhsl(51, 57%, 59%)
HSVhsv(51, 58%, 82%)
CMYKcmyk(0%, 8.6%, 57.6%, 17.6%)
CIE-LABlab(77.36, -6.35, 53.22)
CIE-LCHlch(77.36, 53.59, 96.81°)
OKLaboklab(80.26% -0.0207 0.1235)
OKLCHoklch(80.26% 0.125 99.5)
XYZxyz(47.2329, 52.1241, 17.0222)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C059 #596BD2
analogous
#D28359 #D2C059 #A7D259
triadic
#D2C059 #59D2C0 #C059D2
tetradic
#D2C059 #59D283 #596BD2 #D259A7
square
#D2C059 #59D283 #596BD2 #D259A7
split-complementary
#D2C059 #59A7D2 #8359D2
monochromatic
#8B7C26 #BBA733 #D2C059 #DFD289 #ECE5B9

Accessibility & contrast

On white

1.84
#D2C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D2C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C059
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C059#FFFFFF#000000##000000
##D2C0591.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4F
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c059;
/* rgb */ color: rgb(210, 192, 89);
/* oklch */ color: oklch(80.3% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#e2d28b',
    500: '#d2c059',
    950: '#000000',
  },
}
SCSS
$custom: #d2c059;
$custom-light: #e2d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c059",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 51.074,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80262,
    "c": 0.12519,
    "h": 99.5
  },
  "luminance": 0.52122
}

Semantic roles & 50–950 ramp

primary
#D2C059
secondary
#3E4A91
accent
#5EE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C059

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

Preview Lab → · Contrast checker → · Palette generator →

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