#D2C84C#D2C84C

#D2C84C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.143 H 104.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D2C84C
RGBrgb(210, 200, 76)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 4.8%, 63.8%, 17.6%)
CIE-LABlab(79.35, -11.32, 61.10)
CIE-LCHlch(79.35, 62.14, 100.50°)
OKLaboklab(81.81% -0.0363 0.1385)
OKLCHoklch(81.81% 0.143 104.7)
XYZxyz(48.5389, 55.5338, 14.9984)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C84C #4C56D2
analogous
#D2854C #D2C84C #99D24C
triadic
#D2C84C #4CD2C8 #C84CD2
tetradic
#D2C84C #4CD285 #4C56D2 #D24C99
square
#D2C84C #4CD285 #4C56D2 #D24C99
split-complementary
#D2C84C #4C99D2 #854CD2
monochromatic
#837B21 #B4AA2D #D2C84C #DED77D #EBE6AE

Accessibility & contrast

On white

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

On black

12.11
#D2C84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C84C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C84C#FFFFFF#000000##000000
##D2C84C1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13C
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c84c;
/* rgb */ color: rgb(210, 200, 76);
/* oklch */ color: oklch(81.8% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e3d884',
    500: '#d2c84c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c84c;
$custom-light: #e3d884;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c84c",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 55.522,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81807,
    "c": 0.1432,
    "h": 104.7
  },
  "luminance": 0.55532
}

Semantic roles & 50–950 ramp

primary
#D2C84C
secondary
#383F8A
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C84C

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

Preview Lab → · Contrast checker → · Palette generator →

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