#D1C94E#D1C94E

#D1C94E is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.143 H 105.6°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D1C94E
RGBrgb(209, 201, 78)
HSLhsl(56, 59%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 3.8%, 62.7%, 18%)
CIE-LABlab(79.55, -12.13, 60.45)
CIE-LCHlch(79.55, 61.66, 101.34°)
OKLaboklab(81.95% -0.0383 0.1375)
OKLCHoklch(81.95% 0.143 105.6)
XYZxyz(48.5580, 55.8803, 15.4344)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C94E #4E56D1
analogous
#D1884E #D1C94E #98D14E
triadic
#D1C94E #4ED1C9 #C94ED1
tetradic
#D1C94E #4ED188 #4E56D1 #D14E98
square
#D1C94E #4ED188 #4E56D1 #D14E98
split-complementary
#D1C94E #4E98D1 #884ED1
monochromatic
#837D22 #B3AB2F #D1C94E #DED87F #EAE7AF

Accessibility & contrast

On white

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

On black

12.18
#D1C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C94E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C94E#FFFFFF#000000##000000
##D1C94E1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c94e;
/* rgb */ color: rgb(209, 201, 78);
/* oklch */ color: oklch(81.9% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2d985',
    500: '#d1c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c94e;
$custom-light: #e2d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c94e",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 56.336,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81949,
    "c": 0.1427,
    "h": 105.6
  },
  "luminance": 0.55879
}

Semantic roles & 50–950 ramp

primary
#D1C94E
secondary
#393E8A
accent
#4FE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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