#D2C459#D2C459

#D2C459 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.129 H 101.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D2C459
RGBrgb(210, 196, 89)
HSLhsl(53, 57%, 59%)
HSVhsv(53, 58%, 82%)
CMYKcmyk(0%, 6.7%, 57.6%, 17.6%)
CIE-LABlab(78.41, -8.41, 54.41)
CIE-LCHlch(78.41, 55.05, 98.79°)
OKLaboklab(81.1% -0.0266 0.126)
OKLCHoklch(81.1% 0.129 101.9)
XYZxyz(48.1231, 53.9046, 17.3190)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C459 #5967D2
analogous
#D28759 #D2C459 #A3D259
triadic
#D2C459 #59D2C4 #C459D2
tetradic
#D2C459 #59D287 #5967D2 #D259A3
square
#D2C459 #59D287 #5967D2 #D259A3
split-complementary
#D2C459 #59A3D2 #8759D2
monochromatic
#8B7F26 #BBAB33 #D2C459 #DFD589 #ECE6B9

Accessibility & contrast

On white

1.78
#D2C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D2C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C459
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C459#FFFFFF#000000##000000
##D2C4591.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#D8C55E
Tritanopia (blue-blind)
#E0B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c459;
/* rgb */ color: rgb(210, 196, 89);
/* oklch */ color: oklch(81.1% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#e2d58b',
    500: '#d2c459',
    950: '#000000',
  },
}
SCSS
$custom: #d2c459;
$custom-light: #e2d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c459",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 53.058,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.12879,
    "h": 101.9
  },
  "luminance": 0.53903
}

Semantic roles & 50–950 ramp

primary
#D2C459
secondary
#3E4891
accent
#59E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C459

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

Preview Lab → · Contrast checker → · Palette generator →

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