#D6C04D#D6C04D

#D6C04D is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.135 H 98.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D6C04D
RGBrgb(214, 192, 77)
HSLhsl(50, 63%, 57%)
HSVhsv(50, 64%, 84%)
CMYKcmyk(0%, 10.3%, 64%, 16.1%)
CIE-LABlab(77.60, -5.48, 58.93)
CIE-LCHlch(77.60, 59.18, 95.32°)
OKLaboklab(80.5% -0.0198 0.1339)
OKLCHoklch(80.5% 0.135 98.4)
XYZxyz(47.9228, 52.5334, 14.6354)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C04D #4D63D6
analogous
#D67C4D #D6C04D #A8D64D
triadic
#D6C04D #4DD6C0 #C04DD6
tetradic
#D6C04D #4DD67C #4D63D6 #D64DA8
square
#D6C04D #4DD67C #4D63D6 #D64DA8
split-complementary
#D6C04D #4DA8D6 #7C4DD6
monochromatic
#897820 #BBA42B #D6C04D #E1D27F #EDE3B0

Accessibility & contrast

On white

1.83
#D6C04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#D6C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C04D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C04D#FFFFFF#000000##000000
##D6C04D1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3F
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#E6B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c04d;
/* rgb */ color: rgb(214, 192, 77);
/* oklch */ color: oklch(80.5% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#e6d284',
    500: '#d6c04d',
    950: '#000000',
  },
}
SCSS
$custom: #d6c04d;
$custom-light: #e6d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c04d",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 50.365,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80503,
    "c": 0.1354,
    "h": 98.4
  },
  "luminance": 0.52531
}

Semantic roles & 50–950 ramp

primary
#D6C04D
secondary
#38468F
accent
#5CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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