#D1C64A#D1C64A

#D1C64A is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.143 H 104.2°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D1C64A
RGBrgb(209, 198, 74)
HSLhsl(55, 59%, 55%)
HSVhsv(55, 65%, 82%)
CMYKcmyk(0%, 5.3%, 64.6%, 18%)
CIE-LABlab(78.72, -10.85, 61.24)
CIE-LCHlch(78.72, 62.19, 100.05°)
OKLaboklab(81.28% -0.0352 0.1385)
OKLCHoklch(81.28% 0.143 104.2)
XYZxyz(47.7264, 54.4397, 14.4711)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C64A #4A55D1
analogous
#D1824A #D1C64A #98D14A
triadic
#D1C64A #4AD1C6 #C64AD1
tetradic
#D1C64A #4AD182 #4A55D1 #D14A98
square
#D1C64A #4AD182 #4A55D1 #D14A98
split-complementary
#D1C64A #4A98D1 #824AD1
monochromatic
#807821 #B1A62D #D1C64A #DDD57B #EAE5AC

Accessibility & contrast

On white

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

On black

11.89
#D1C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C64A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C64A#FFFFFF#000000##000000
##D1C64A1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF3A
Deuteranopia (green-blind)
#DAC651
Tritanopia (blue-blind)
#E0B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c64a;
/* rgb */ color: rgb(209, 198, 74);
/* oklch */ color: oklch(81.3% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e2d782',
    500: '#d1c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d1c64a;
$custom-light: #e2d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c64a",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 55.111,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8128,
    "c": 0.14291,
    "h": 104.2
  },
  "luminance": 0.54438
}

Semantic roles & 50–950 ramp

primary
#D1C64A
secondary
#383E87
accent
#52E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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