#D6D54C#D6D54C

#D6D54C is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.9% C 0.155 H 108.9°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D6D54C
RGBrgb(214, 213, 76)
HSLhsl(60, 63%, 57%)
HSVhsv(60, 64%, 84%)
CMYKcmyk(0%, 0.5%, 64.5%, 16.1%)
CIE-LABlab(83.13, -16.18, 65.16)
CIE-LCHlch(83.13, 67.13, 103.94°)
OKLaboklab(84.9% -0.0503 0.147)
OKLCHoklch(84.9% 0.155 108.9)
XYZxyz(52.8321, 62.4080, 16.0990)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D54C #4C4DD6
analogous
#D6904C #D6D54C #92D64C
triadic
#D6D54C #4CD6D5 #D54CD6
tetradic
#D6D54C #4CD690 #4C4DD6 #D64C92
square
#D6D54C #4CD690 #4C4DD6 #D64C92
split-complementary
#D6D54C #4C92D6 #904CD6
monochromatic
#88881F #BAB92B #D6D54C #E1E17E #EDECB0

Accessibility & contrast

On white

1.56
#D6D54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D6D54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D54C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D54C#FFFFFF#000000##000000
##D6D54C1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD39
Deuteranopia (green-blind)
#E8D155
Tritanopia (blue-blind)
#E5C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d54c;
/* rgb */ color: rgb(214, 213, 76);
/* oklch */ color: oklch(84.9% 0.155 108.9);
Tailwind
colors: {
  custom: {
    50: '#e6e185',
    500: '#d6d54c',
    950: '#000000',
  },
}
SCSS
$custom: #d6d54c;
$custom-light: #e6e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d54c",
  "rgb": {
    "r": 214,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 59.565,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.849,
    "c": 0.15533,
    "h": 108.9
  },
  "luminance": 0.62406
}

Semantic roles & 50–950 ramp

primary
#D6D54C
secondary
#38388F
accent
#43E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D54C

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

Preview Lab → · Contrast checker → · Palette generator →

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