#D2C94B#D2C94B

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

Color values

HEX#D2C94B
RGBrgb(210, 201, 75)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 4.3%, 64.3%, 17.6%)
CIE-LABlab(79.61, -11.89, 61.79)
CIE-LCHlch(79.61, 62.92, 100.89°)
OKLaboklab(82.01% -0.0381 0.1398)
OKLCHoklch(82.01% 0.145 105.2)
XYZxyz(48.7368, 55.9847, 14.8941)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94B #4B54D2
analogous
#D2854B #D2C94B #97D24B
triadic
#D2C94B #4BD2C9 #C94BD2
tetradic
#D2C94B #4BD285 #4B54D2 #D24B97
square
#D2C94B #4BD285 #4B54D2 #D24B97
split-complementary
#D2C94B #4B97D2 #854BD2
monochromatic
#827C21 #B3AA2D #D2C94B #DED87C #EAE6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C94B#FFFFFF#000000##000000
##D2C94B1.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)
#DAC23B
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c94b;
/* rgb */ color: rgb(210, 201, 75);
/* oklch */ color: oklch(82.0% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3d983',
    500: '#d2c94b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94b;
$custom-light: #e3d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94b",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 56,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82009,
    "c": 0.14489,
    "h": 105.2
  },
  "luminance": 0.55983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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