#D6C84A#D6C84A

#D6C84A is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.144 H 103.0°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D6C84A
RGBrgb(214, 200, 74)
HSLhsl(54, 63%, 56%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6.5%, 65.4%, 16.1%)
CIE-LABlab(79.67, -9.76, 62.37)
CIE-LCHlch(79.67, 63.13, 98.90°)
OKLaboklab(82.14% -0.0324 0.1408)
OKLCHoklch(82.14% 0.144 103)
XYZxyz(49.6238, 56.1011, 14.6919)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C84A #4A58D6
analogous
#D6824A #D6C84A #9ED64A
triadic
#D6C84A #4AD6C8 #C84AD6
tetradic
#D6C84A #4AD682 #4A58D6 #D64A9E
square
#D6C84A #4AD682 #4A58D6 #D64A9E
split-complementary
#D6C84A #4A9ED6 #824AD6
monochromatic
#877D1F #B9AB2A #D6C84A #E1D77C #EDE6AE

Accessibility & contrast

On white

1.72
#D6C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D6C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C84A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C84A#FFFFFF#000000##000000
##D6C84A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23A
Deuteranopia (green-blind)
#DEC851
Tritanopia (blue-blind)
#E6BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c84a;
/* rgb */ color: rgb(214, 200, 74);
/* oklch */ color: oklch(82.1% 0.144 103.0);
Tailwind
colors: {
  custom: {
    50: '#e6d883',
    500: '#d6c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d6c84a;
$custom-light: #e6d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c84a",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 54,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82141,
    "c": 0.14444,
    "h": 103
  },
  "luminance": 0.56099
}

Semantic roles & 50–950 ramp

primary
#D6C84A
secondary
#373F8D
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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