#D2C84E#D2C84E

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

Color values

HEX#D2C84E
RGBrgb(210, 200, 78)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 4.8%, 62.9%, 17.6%)
CIE-LABlab(79.36, -11.20, 60.28)
CIE-LCHlch(79.36, 61.32, 100.53°)
OKLaboklab(81.83% -0.0358 0.1371)
OKLCHoklch(81.83% 0.142 104.6)
XYZxyz(48.6095, 55.5620, 15.3703)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C84E #4E58D2
analogous
#D2864E #D2C84E #9AD24E
triadic
#D2C84E #4ED2C8 #C84ED2
tetradic
#D2C84E #4ED286 #4E58D2 #D24E9A
square
#D2C84E #4ED286 #4E58D2 #D24E9A
split-complementary
#D2C84E #4E9AD2 #864ED2
monochromatic
#847D22 #B5AB2E #D2C84E #DED77F #EBE6B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C84E#FFFFFF#000000##000000
##D2C84E1.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)
#D9C13F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c84e;
/* rgb */ color: rgb(210, 200, 78);
/* oklch */ color: oklch(81.8% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d885',
    500: '#d2c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c84e;
$custom-light: #e3d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c84e",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 55.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.14166,
    "h": 104.6
  },
  "luminance": 0.5556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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