#D6C542#D6C542

#D6C542 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.147 H 101.8°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#D6C542
RGBrgb(214, 197, 66)
HSLhsl(53, 64%, 55%)
HSVhsv(53, 69%, 84%)
CMYKcmyk(0%, 7.9%, 69.2%, 16.1%)
CIE-LABlab(78.82, -8.67, 64.67)
CIE-LCHlch(78.82, 65.25, 97.64°)
OKLaboklab(81.45% -0.0301 0.1443)
OKLCHoklch(81.45% 0.147 101.8)
XYZxyz(48.6833, 54.6241, 13.1323)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C542 #4253D6
analogous
#D67B42 #D6C542 #9DD642
triadic
#D6C542 #42D6C5 #C542D6
tetradic
#D6C542 #42D67B #4253D6 #D6429D
square
#D6C542 #42D67B #4253D6 #D6429D
split-complementary
#D6C542 #429DD6 #7B42D6
monochromatic
#82761C #B4A427 #D6C542 #E1D474 #ECE4A7

Accessibility & contrast

On white

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

On black

11.92
#D6C542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C542
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C542#FFFFFF#000000##000000
##D6C5421.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#E6B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c542;
/* rgb */ color: rgb(214, 197, 66);
/* oklch */ color: oklch(81.4% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6d67e',
    500: '#d6c542',
    950: '#000000',
  },
}
SCSS
$custom: #d6c542;
$custom-light: #e6d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c542",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 53.108,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14743,
    "h": 101.8
  },
  "luminance": 0.54622
}

Semantic roles & 50–950 ramp

primary
#D6C542
secondary
#343D88
accent
#54E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C542

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

Preview Lab → · Contrast checker → · Palette generator →

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