#D1C64F#D1C64F

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

Color values

HEX#D1C64F
RGBrgb(209, 198, 79)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 5.3%, 62.2%, 18%)
CIE-LABlab(78.76, -10.54, 59.19)
CIE-LCHlch(78.76, 60.12, 100.10°)
OKLaboklab(81.33% -0.0337 0.1349)
OKLCHoklch(81.33% 0.139 104)
XYZxyz(47.9016, 54.5097, 15.3938)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C64F #4F5AD1
analogous
#D1854F #D1C64F #9BD14F
triadic
#D1C64F #4FD1C6 #C64FD1
tetradic
#D1C64F #4FD185 #4F5AD1 #D14F9B
square
#D1C64F #4FD185 #4F5AD1 #D14F9B
split-complementary
#D1C64F #4F9BD1 #854FD1
monochromatic
#837B22 #B4A92F #D1C64F #DED680 #EAE5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C64F#FFFFFF#000000##000000
##D1C64F1.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)
#D6C041
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#E0B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c64f;
/* rgb */ color: rgb(209, 198, 79);
/* oklch */ color: oklch(81.3% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#e2d785',
    500: '#d1c64f',
    950: '#000000',
  },
}
SCSS
$custom: #d1c64f;
$custom-light: #e2d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c64f",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 54.923,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81325,
    "c": 0.13907,
    "h": 104
  },
  "luminance": 0.54508
}

Semantic roles & 50–950 ramp

primary
#D1C64F
secondary
#3A418A
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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