#D2C94E#D2C94E

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

Color values

HEX#D2C94E
RGBrgb(210, 201, 78)
HSLhsl(56, 59%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 4.3%, 62.9%, 17.6%)
CIE-LABlab(79.63, -11.71, 60.57)
CIE-LCHlch(79.63, 61.69, 100.94°)
OKLaboklab(82.04% -0.0372 0.1377)
OKLCHoklch(82.04% 0.143 105.1)
XYZxyz(48.8419, 56.0267, 15.4477)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94E #4E57D2
analogous
#D2874E #D2C94E #99D24E
triadic
#D2C94E #4ED2C9 #C94ED2
tetradic
#D2C94E #4ED287 #4E57D2 #D24E99
square
#D2C94E #4ED287 #4E57D2 #D24E99
split-complementary
#D2C94E #4E99D2 #874ED2
monochromatic
#847D22 #B5AC2E #D2C94E #DED87F #EBE7B0

Accessibility & contrast

On white

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

On black

12.21
#D2C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C94E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C94E#FFFFFF#000000##000000
##D2C94E1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c94e;
/* rgb */ color: rgb(210, 201, 78);
/* oklch */ color: oklch(82.0% 0.143 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d985',
    500: '#d2c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94e;
$custom-light: #e3d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94e",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 55.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.14261,
    "h": 105.1
  },
  "luminance": 0.56025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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