#D2C84B#D2C84B

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

Color values

HEX#D2C84B
RGBrgb(210, 200, 75)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 4.8%, 64.3%, 17.6%)
CIE-LABlab(79.34, -11.39, 61.51)
CIE-LCHlch(79.34, 62.55, 100.49°)
OKLaboklab(81.8% -0.0366 0.1392)
OKLCHoklch(81.8% 0.144 104.7)
XYZxyz(48.5044, 55.5200, 14.8167)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C84B #4B55D2
analogous
#D2854B #D2C84B #98D24B
triadic
#D2C84B #4BD2C8 #C84BD2
tetradic
#D2C84B #4BD285 #4B55D2 #D24B98
square
#D2C84B #4BD285 #4B55D2 #D24B98
split-complementary
#D2C84B #4B98D2 #854BD2
monochromatic
#827B21 #B3A92D #D2C84B #DED77C #EAE6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C84B#FFFFFF#000000##000000
##D2C84B1.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)
#D9C13B
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c84b;
/* rgb */ color: rgb(210, 200, 75);
/* oklch */ color: oklch(81.8% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e3d883',
    500: '#d2c84b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c84b;
$custom-light: #e3d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c84b",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 55.556,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.14395,
    "h": 104.7
  },
  "luminance": 0.55518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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