#D1C64D#D1C64D

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

Color values

HEX#D1C64D
RGBrgb(209, 198, 77)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.3%, 63.2%, 18%)
CIE-LABlab(78.74, -10.67, 60.02)
CIE-LCHlch(78.74, 60.96, 100.08°)
OKLaboklab(81.31% -0.0343 0.1364)
OKLCHoklch(81.31% 0.141 104.1)
XYZxyz(47.8299, 54.4811, 15.0162)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C64D #4D58D1
analogous
#D1844D #D1C64D #9AD14D
triadic
#D1C64D #4DD1C6 #C64DD1
tetradic
#D1C64D #4DD184 #4D58D1 #D14D9A
square
#D1C64D #4DD184 #4D58D1 #D14D9A
split-complementary
#D1C64D #4D9AD1 #844DD1
monochromatic
#827A22 #B3A82E #D1C64D #DED67E #EAE5AE

Accessibility & contrast

On white

1.77
#D1C64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C64D#FFFFFF#000000##000000
##D1C64D1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c64d;
/* rgb */ color: rgb(209, 198, 77);
/* oklch */ color: oklch(81.3% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#e2d784',
    500: '#d1c64d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c64d;
$custom-light: #e2d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c64d",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 55,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81307,
    "c": 0.14063,
    "h": 104.1
  },
  "luminance": 0.54479
}

Semantic roles & 50–950 ramp

primary
#D1C64D
secondary
#394089
accent
#53E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C64D

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

Preview Lab → · Contrast checker → · Palette generator →

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