#D6C54A#D6C54A

#D6C54A is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.142 H 101.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D6C54A
RGBrgb(214, 197, 74)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 65%, 84%)
CMYKcmyk(0%, 7.9%, 65.4%, 16.1%)
CIE-LABlab(78.88, -8.23, 61.55)
CIE-LCHlch(78.88, 62.09, 97.62°)
OKLaboklab(81.51% -0.028 0.139)
OKLCHoklch(81.51% 0.142 101.4)
XYZxyz(48.9359, 54.7251, 14.4626)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C54A #4A5BD6
analogous
#D67F4A #D6C54A #A1D64A
triadic
#D6C54A #4AD6C5 #C54AD6
tetradic
#D6C54A #4AD67F #4A5BD6 #D64AA1
square
#D6C54A #4AD67F #4A5BD6 #D64AA1
split-complementary
#D6C54A #4AA1D6 #7F4AD6
monochromatic
#877A1F #B9A82A #D6C54A #E1D57C #EDE5AE

Accessibility & contrast

On white

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

On black

11.94
#D6C54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C54A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C54A#FFFFFF#000000##000000
##D6C54A1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c54a;
/* rgb */ color: rgb(214, 197, 74);
/* oklch */ color: oklch(81.5% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#e6d682',
    500: '#d6c54a',
    950: '#000000',
  },
}
SCSS
$custom: #d6c54a;
$custom-light: #e6d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c54a",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 52.714,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.14183,
    "h": 101.4
  },
  "luminance": 0.54723
}

Semantic roles & 50–950 ramp

primary
#D6C54A
secondary
#37418D
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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