#D6C64F#D6C64F

#D6C64F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.139 H 101.7°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D6C64F
RGBrgb(214, 198, 79)
HSLhsl(53, 62%, 57%)
HSVhsv(53, 63%, 84%)
CMYKcmyk(0%, 7.5%, 63.1%, 16.1%)
CIE-LABlab(79.19, -8.44, 59.77)
CIE-LCHlch(79.19, 60.36, 98.04°)
OKLaboklab(81.77% -0.028 0.136)
OKLCHoklch(81.77% 0.139 101.7)
XYZxyz(49.3389, 55.2508, 15.4612)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C64F #4F5FD6
analogous
#D6834F #D6C64F #A2D64F
triadic
#D6C64F #4FD6C6 #C64FD6
tetradic
#D6C64F #4FD683 #4F5FD6 #D64FA2
square
#D6C64F #4FD683 #4F5FD6 #D64FA2
split-complementary
#D6C64F #4FA2D6 #834FD6
monochromatic
#8A7E20 #BCAB2C #D6C64F #E2D681 #EDE6B2

Accessibility & contrast

On white

1.74
#D6C64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D6C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C64F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C64F#FFFFFF#000000##000000
##D6C64F1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C041
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E5B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c64f;
/* rgb */ color: rgb(214, 198, 79);
/* oklch */ color: oklch(81.8% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#e6d785',
    500: '#d6c64f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c64f;
$custom-light: #e6d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c64f",
  "rgb": {
    "r": 214,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 52.889,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81767,
    "c": 0.13889,
    "h": 101.7
  },
  "luminance": 0.55249
}

Semantic roles & 50–950 ramp

primary
#D6C64F
secondary
#394390
accent
#56E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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