#D1C64E#D1C64E

#D1C64E is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.140 H 104.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D1C64E
RGBrgb(209, 198, 78)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.3%, 62.7%, 18%)
CIE-LABlab(78.75, -10.60, 59.60)
CIE-LCHlch(78.75, 60.54, 100.09°)
OKLaboklab(81.32% -0.034 0.1357)
OKLCHoklch(81.32% 0.14 104.1)
XYZxyz(47.8655, 54.4953, 15.2036)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C64E #4E59D1
analogous
#D1854E #D1C64E #9BD14E
triadic
#D1C64E #4ED1C6 #C64ED1
tetradic
#D1C64E #4ED185 #4E59D1 #D14E9B
square
#D1C64E #4ED185 #4E59D1 #D14E9B
split-complementary
#D1C64E #4E9BD1 #854ED1
monochromatic
#837B22 #B3A82F #D1C64E #DED67F #EAE5AF

Accessibility & contrast

On white

1.76
#D1C64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D1C64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C64E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C64E#FFFFFF#000000##000000
##D1C64E1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C040
Deuteranopia (green-blind)
#DAC655
Tritanopia (blue-blind)
#E0B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c64e;
/* rgb */ color: rgb(209, 198, 78);
/* oklch */ color: oklch(81.3% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#e2d785',
    500: '#d1c64e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c64e;
$custom-light: #e2d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c64e",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 54.962,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81316,
    "c": 0.13985,
    "h": 104.1
  },
  "luminance": 0.54494
}

Semantic roles & 50–950 ramp

primary
#D1C64E
secondary
#39408A
accent
#53E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C64E

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

Preview Lab → · Contrast checker → · Palette generator →

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