#D2C455#D2C455

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

Color values

HEX#D2C455
RGBrgb(210, 196, 85)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 60%, 82%)
CMYKcmyk(0%, 6.7%, 59.5%, 17.6%)
CIE-LABlab(78.37, -8.70, 56.17)
CIE-LCHlch(78.37, 56.83, 98.80°)
OKLaboklab(81.05% -0.0279 0.1293)
OKLCHoklch(81.05% 0.132 102.2)
XYZxyz(47.9597, 53.8392, 16.4583)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C455 #5563D2
analogous
#D28555 #D2C455 #A1D255
triadic
#D2C455 #55D2C4 #C455D2
tetradic
#D2C455 #55D285 #5563D2 #D255A1
square
#D2C455 #55D285 #5563D2 #D255A1
split-complementary
#D2C455 #55A1D2 #8555D2
monochromatic
#887D24 #B9AA31 #D2C455 #DFD585 #ECE6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C455#FFFFFF#000000##000000
##D2C4551.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)
#D4BE49
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c455;
/* rgb */ color: rgb(210, 196, 85);
/* oklch */ color: oklch(81.1% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#e3d589',
    500: '#d2c455',
    950: '#000000',
  },
}
SCSS
$custom: #d2c455;
$custom-light: #e3d589;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c455",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 53.28,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81053,
    "c": 0.13226,
    "h": 102.2
  },
  "luminance": 0.53837
}

Semantic roles & 50–950 ramp

primary
#D2C455
secondary
#3C468F
accent
#58E146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C455

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

Preview Lab → · Contrast checker → · Palette generator →

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