#D2C84A#D2C84A

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

Color values

HEX#D2C84A
RGBrgb(210, 200, 74)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 4.8%, 64.8%, 17.6%)
CIE-LABlab(79.33, -11.45, 61.91)
CIE-LCHlch(79.33, 62.96, 100.47°)
OKLaboklab(81.79% -0.0369 0.1399)
OKLCHoklch(81.79% 0.145 104.8)
XYZxyz(48.4705, 55.5064, 14.6378)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C84A #4A54D2
analogous
#D2844A #D2C84A #98D24A
triadic
#D2C84A #4AD2C8 #C84AD2
tetradic
#D2C84A #4AD284 #4A54D2 #D24A98
square
#D2C84A #4AD284 #4A54D2 #D24A98
split-complementary
#D2C84A #4A98D2 #844AD2
monochromatic
#817A20 #B2A92C #D2C84A #DED77B #EAE6AC

Accessibility & contrast

On white

1.74
#D2C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D2C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C84A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C84A#FFFFFF#000000##000000
##D2C84A1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13A
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c84a;
/* rgb */ color: rgb(210, 200, 74);
/* oklch */ color: oklch(81.8% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e3d883',
    500: '#d2c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c84a;
$custom-light: #e3d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c84a",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 55.588,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81789,
    "c": 0.14469,
    "h": 104.8
  },
  "luminance": 0.55505
}

Semantic roles & 50–950 ramp

primary
#D2C84A
secondary
#383E89
accent
#50E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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