#D2C94D#D2C94D

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

Color values

HEX#D2C94D
RGBrgb(210, 201, 77)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 4.3%, 63.3%, 17.6%)
CIE-LABlab(79.62, -11.77, 60.98)
CIE-LCHlch(79.62, 62.10, 100.93°)
OKLaboklab(82.03% -0.0375 0.1384)
OKLCHoklch(82.03% 0.143 105.2)
XYZxyz(48.8063, 56.0125, 15.2603)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94D #4D56D2
analogous
#D2874D #D2C94D #99D24D
triadic
#D2C94D #4DD2C9 #C94DD2
tetradic
#D2C94D #4DD287 #4D56D2 #D24D99
square
#D2C94D #4DD287 #4D56D2 #D24D99
split-complementary
#D2C94D #4D99D2 #874DD2
monochromatic
#837D21 #B4AB2E #D2C94D #DED87E #EBE7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C94D#FFFFFF#000000##000000
##D2C94D1.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)
#DAC23E
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c94d;
/* rgb */ color: rgb(210, 201, 77);
/* oklch */ color: oklch(82.0% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3d984',
    500: '#d2c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94d;
$custom-light: #e3d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94d",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 55.94,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82027,
    "c": 0.14338,
    "h": 105.2
  },
  "luminance": 0.56011
}

Semantic roles & 50–950 ramp

primary
#D2C94D
secondary
#393E8A
accent
#50E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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