#D2C853#D2C853

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

Color values

HEX#D2C853
RGBrgb(210, 200, 83)
HSLhsl(55, 59%, 57%)
HSVhsv(55, 60%, 82%)
CMYKcmyk(0%, 4.8%, 60.5%, 17.6%)
CIE-LABlab(79.41, -10.87, 58.19)
CIE-LCHlch(79.41, 59.20, 100.59°)
OKLaboklab(81.87% -0.0343 0.1333)
OKLCHoklch(81.87% 0.138 104.4)
XYZxyz(48.7957, 55.6364, 16.3505)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C853 #535DD2
analogous
#D28953 #D2C853 #9CD253
triadic
#D2C853 #53D2C8 #C853D2
tetradic
#D2C853 #53D289 #535DD2 #D2539C
square
#D2C853 #53D289 #535DD2 #D2539C
split-complementary
#D2C853 #539CD2 #8953D2
monochromatic
#877F23 #B8AD30 #D2C853 #DFD884 #EBE7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C853#FFFFFF#000000##000000
##D2C8531.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)
#D8C246
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#E1BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c853;
/* rgb */ color: rgb(210, 200, 83);
/* oklch */ color: oklch(81.9% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e3d888',
    500: '#d2c853',
    950: '#000000',
  },
}
SCSS
$custom: #d2c853;
$custom-light: #e3d888;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c853",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 55.276,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81872,
    "c": 0.13767,
    "h": 104.4
  },
  "luminance": 0.55635
}

Semantic roles & 50–950 ramp

primary
#D2C853
secondary
#3B428E
accent
#52E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C853

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

Preview Lab → · Contrast checker → · Palette generator →

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