#D2C855#D2C855

#D2C855 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.136 H 104.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D2C855
RGBrgb(210, 200, 85)
HSLhsl(55, 58%, 58%)
HSVhsv(55, 60%, 82%)
CMYKcmyk(0%, 4.8%, 59.5%, 17.6%)
CIE-LABlab(79.42, -10.74, 57.33)
CIE-LCHlch(79.42, 58.33, 100.61°)
OKLaboklab(81.89% -0.0337 0.1318)
OKLCHoklch(81.89% 0.136 104.3)
XYZxyz(48.8740, 55.6678, 16.7631)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C855 #555FD2
analogous
#D28955 #D2C855 #9DD255
triadic
#D2C855 #55D2C8 #C855D2
tetradic
#D2C855 #55D289 #555FD2 #D2559D
square
#D2C855 #55D289 #555FD2 #D2559D
split-complementary
#D2C855 #559DD2 #8955D2
monochromatic
#888024 #B9AE31 #D2C855 #DFD885 #ECE7B6

Accessibility & contrast

On white

1.73
#D2C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D2C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C855
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C855#FFFFFF#000000##000000
##D2C8551.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C248
Deuteranopia (green-blind)
#DCC75B
Tritanopia (blue-blind)
#E0BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c855;
/* rgb */ color: rgb(210, 200, 85);
/* oklch */ color: oklch(81.9% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e3d889',
    500: '#d2c855',
    950: '#000000',
  },
}
SCSS
$custom: #d2c855;
$custom-light: #e3d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c855",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 55.2,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.13601,
    "h": 104.3
  },
  "luminance": 0.55666
}

Semantic roles & 50–950 ramp

primary
#D2C855
secondary
#3C438F
accent
#53E146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C855

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

Preview Lab → · Contrast checker → · Palette generator →

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