#D2C456#D2C456

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

Color values

HEX#D2C456
RGBrgb(210, 196, 86)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 59%, 82%)
CMYKcmyk(0%, 6.7%, 59%, 17.6%)
CIE-LABlab(78.38, -8.63, 55.73)
CIE-LCHlch(78.38, 56.39, 98.80°)
OKLaboklab(81.06% -0.0275 0.1285)
OKLCHoklch(81.06% 0.131 102.1)
XYZxyz(47.9997, 53.8552, 16.6690)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C456 #5664D2
analogous
#D28656 #D2C456 #A2D256
triadic
#D2C456 #56D2C4 #C456D2
tetradic
#D2C456 #56D286 #5664D2 #D256A2
square
#D2C456 #56D286 #5664D2 #D256A2
split-complementary
#D2C456 #56A2D2 #8656D2
monochromatic
#897E25 #B9AA31 #D2C456 #DFD586 #ECE6B7

Accessibility & contrast

On white

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

On black

11.77
#D2C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C456
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C456#FFFFFF#000000##000000
##D2C4561.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c456;
/* rgb */ color: rgb(210, 196, 86);
/* oklch */ color: oklch(81.1% 0.131 102.1);
Tailwind
colors: {
  custom: {
    50: '#e3d58a',
    500: '#d2c456',
    950: '#000000',
  },
}
SCSS
$custom: #d2c456;
$custom-light: #e3d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c456",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 53.226,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81063,
    "c": 0.1314,
    "h": 102.1
  },
  "luminance": 0.53853
}

Semantic roles & 50–950 ramp

primary
#D2C456
secondary
#3D4690
accent
#58E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C456

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

Preview Lab → · Contrast checker → · Palette generator →

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