#D2C84D#D2C84D

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

Color values

HEX#D2C84D
RGBrgb(210, 200, 77)
HSLhsl(55, 60%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 4.8%, 63.3%, 17.6%)
CIE-LABlab(79.36, -11.26, 60.69)
CIE-LCHlch(79.36, 61.73, 100.51°)
OKLaboklab(81.82% -0.0361 0.1378)
OKLCHoklch(81.82% 0.142 104.7)
XYZxyz(48.5740, 55.5478, 15.1829)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C84D #4D57D2
analogous
#D2864D #D2C84D #9AD24D
triadic
#D2C84D #4DD2C8 #C84DD2
tetradic
#D2C84D #4DD286 #4D57D2 #D24D9A
square
#D2C84D #4DD286 #4D57D2 #D24D9A
split-complementary
#D2C84D #4D9AD2 #864DD2
monochromatic
#837C21 #B4AA2E #D2C84D #DED77E #EBE6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C84D#FFFFFF#000000##000000
##D2C84D1.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)
#D9C13E
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c84d;
/* rgb */ color: rgb(210, 200, 77);
/* oklch */ color: oklch(81.8% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#e3d884',
    500: '#d2c84d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c84d;
$custom-light: #e3d884;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c84d",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 55.489,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81816,
    "c": 0.14243,
    "h": 104.7
  },
  "luminance": 0.55546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C84D

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

Preview Lab → · Contrast checker → · Palette generator →

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