#D6C54D#D6C54D

#D6C54D is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.140 H 101.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D6C54D
RGBrgb(214, 197, 77)
HSLhsl(53, 63%, 57%)
HSVhsv(53, 64%, 84%)
CMYKcmyk(0%, 7.9%, 64%, 16.1%)
CIE-LABlab(78.91, -8.05, 60.32)
CIE-LCHlch(78.91, 60.86, 97.61°)
OKLaboklab(81.54% -0.0272 0.1369)
OKLCHoklch(81.54% 0.14 101.2)
XYZxyz(49.0394, 54.7665, 15.0076)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C54D #4D5ED6
analogous
#D6814D #D6C54D #A2D64D
triadic
#D6C54D #4DD6C5 #C54DD6
tetradic
#D6C54D #4DD681 #4D5ED6 #D64DA2
square
#D6C54D #4DD681 #4D5ED6 #D64DA2
split-complementary
#D6C54D #4DA2D6 #814DD6
monochromatic
#897C20 #BBA92B #D6C54D #E1D57F #EDE5B0

Accessibility & contrast

On white

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

On black

11.95
#D6C54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C54D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C54D#FFFFFF#000000##000000
##D6C54D1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c54d;
/* rgb */ color: rgb(214, 197, 77);
/* oklch */ color: oklch(81.5% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#e6d684',
    500: '#d6c54d',
    950: '#000000',
  },
}
SCSS
$custom: #d6c54d;
$custom-light: #e6d684;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c54d",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 52.555,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81541,
    "c": 0.13956,
    "h": 101.2
  },
  "luminance": 0.54764
}

Semantic roles & 50–950 ramp

primary
#D6C54D
secondary
#38438F
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C54D

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

Preview Lab → · Contrast checker → · Palette generator →

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