#D2C94C#D2C94C

#D2C94C is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.144 H 105.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D2C94C
RGBrgb(210, 201, 76)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 4.3%, 63.8%, 17.6%)
CIE-LABlab(79.61, -11.83, 61.38)
CIE-LCHlch(79.61, 62.51, 100.91°)
OKLaboklab(82.02% -0.0378 0.1391)
OKLCHoklch(82.02% 0.144 105.2)
XYZxyz(48.7713, 55.9985, 15.0758)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94C #4C55D2
analogous
#D2864C #D2C94C #98D24C
triadic
#D2C94C #4CD2C9 #C94CD2
tetradic
#D2C94C #4CD286 #4C55D2 #D24C98
square
#D2C94C #4CD286 #4C55D2 #D24C98
split-complementary
#D2C94C #4C98D2 #864CD2
monochromatic
#837C21 #B4AB2D #D2C94C #DED87D #EBE7AE

Accessibility & contrast

On white

1.72
#D2C94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D2C94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C94C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C94C#FFFFFF#000000##000000
##D2C94C1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23C
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c94c;
/* rgb */ color: rgb(210, 201, 76);
/* oklch */ color: oklch(82.0% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3d984',
    500: '#d2c94c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94c;
$custom-light: #e3d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94c",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 55.97,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82018,
    "c": 0.14414,
    "h": 105.2
  },
  "luminance": 0.55997
}

Semantic roles & 50–950 ramp

primary
#D2C94C
secondary
#383E8A
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C94C

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

Preview Lab → · Contrast checker → · Palette generator →

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