#D2C656#D2C656

#D2C656 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.133 H 103.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D2C656
RGBrgb(210, 198, 86)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 59%, 82%)
CMYKcmyk(0%, 5.7%, 59%, 17.6%)
CIE-LABlab(78.90, -9.65, 56.32)
CIE-LCHlch(78.90, 57.14, 99.72°)
OKLaboklab(81.48% -0.0305 0.1297)
OKLCHoklch(81.48% 0.133 103.2)
XYZxyz(48.4538, 54.7635, 16.8204)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C656 #5662D2
analogous
#D28856 #D2C656 #A0D256
triadic
#D2C656 #56D2C6 #C656D2
tetradic
#D2C656 #56D288 #5662D2 #D256A0
square
#D2C656 #56D288 #5662D2 #D256A0
split-complementary
#D2C656 #56A0D2 #8856D2
monochromatic
#897F25 #B9AC31 #D2C656 #DFD686 #ECE7B7

Accessibility & contrast

On white

1.76
#D2C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D2C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C656
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C656#FFFFFF#000000##000000
##D2C6561.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E1BAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c656;
/* rgb */ color: rgb(210, 198, 86);
/* oklch */ color: oklch(81.5% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3d78a',
    500: '#d2c656',
    950: '#000000',
  },
}
SCSS
$custom: #d2c656;
$custom-light: #e3d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c656",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 54.194,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81482,
    "c": 0.13326,
    "h": 103.2
  },
  "luminance": 0.54762
}

Semantic roles & 50–950 ramp

primary
#D2C656
secondary
#3D4590
accent
#56E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C656

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

Preview Lab → · Contrast checker → · Palette generator →

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