#D2C94A#D2C94A

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

Color values

HEX#D2C94A
RGBrgb(210, 201, 74)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 4.3%, 64.8%, 17.6%)
CIE-LABlab(79.60, -11.95, 62.19)
CIE-LCHlch(79.60, 63.33, 100.88°)
OKLaboklab(82% -0.0383 0.1405)
OKLCHoklch(82% 0.146 105.3)
XYZxyz(48.7028, 55.9711, 14.7153)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94A #4A53D2
analogous
#D2854A #D2C94A #97D24A
triadic
#D2C94A #4AD2C9 #C94AD2
tetradic
#D2C94A #4AD285 #4A53D2 #D24A97
square
#D2C94A #4AD285 #4A53D2 #D24A97
split-complementary
#D2C94A #4A97D2 #854AD2
monochromatic
#817B20 #B2AA2C #D2C94A #DED87B #EAE6AC

Accessibility & contrast

On white

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

On black

12.19
#D2C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C94A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C94A#FFFFFF#000000##000000
##D2C94A1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c94a;
/* rgb */ color: rgb(210, 201, 74);
/* oklch */ color: oklch(82.0% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e3d983',
    500: '#d2c94a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94a;
$custom-light: #e3d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94a",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 56.029,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82,
    "c": 0.14563,
    "h": 105.3
  },
  "luminance": 0.55969
}

Semantic roles & 50–950 ramp

primary
#D2C94A
secondary
#383D89
accent
#4FE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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