#D1C94D#D1C94D

#D1C94D 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.17:1 contrast (WCAG AA passes).

Color values

HEX#D1C94D
RGBrgb(209, 201, 77)
HSLhsl(56, 59%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 3.8%, 63.2%, 18%)
CIE-LABlab(79.54, -12.19, 60.86)
CIE-LCHlch(79.54, 62.07, 101.32°)
OKLaboklab(81.94% -0.0386 0.1382)
OKLCHoklch(81.94% 0.143 105.6)
XYZxyz(48.5224, 55.8661, 15.2470)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C94D #4D55D1
analogous
#D1874D #D1C94D #97D14D
triadic
#D1C94D #4DD1C9 #C94DD1
tetradic
#D1C94D #4DD187 #4D55D1 #D14D97
square
#D1C94D #4DD187 #4D55D1 #D14D97
split-complementary
#D1C94D #4D97D1 #874DD1
monochromatic
#827C22 #B3AB2E #D1C94D #DED87E #EAE7AE

Accessibility & contrast

On white

1.73
#D1C94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D1C94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C94D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C94D#FFFFFF#000000##000000
##D1C94D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c94d;
/* rgb */ color: rgb(209, 201, 77);
/* oklch */ color: oklch(81.9% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2d984',
    500: '#d1c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c94d;
$custom-light: #e2d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c94d",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 56.364,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8194,
    "c": 0.14347,
    "h": 105.6
  },
  "luminance": 0.55864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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