#D6C552#D6C552

#D6C552 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.136 H 100.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D6C552
RGBrgb(214, 197, 82)
HSLhsl(52, 62%, 58%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 7.9%, 61.7%, 16.1%)
CIE-LABlab(78.95, -7.74, 58.22)
CIE-LCHlch(78.95, 58.74, 97.57°)
OKLaboklab(81.59% -0.0257 0.1332)
OKLCHoklch(81.59% 0.136 100.9)
XYZxyz(49.2227, 54.8399, 15.9734)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C552 #5263D6
analogous
#D68352 #D6C552 #A5D652
triadic
#D6C552 #52D6C5 #C552D6
tetradic
#D6C552 #52D683 #5263D6 #D652A5
square
#D6C552 #52D683 #5263D6 #D652A5
split-complementary
#D6C552 #52A5D6 #8352D6
monochromatic
#8C7F21 #BEAB2D #D6C552 #E2D683 #EDE6B5

Accessibility & contrast

On white

1.75
#D6C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D6C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C552
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C552#FFFFFF#000000##000000
##D6C5521.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#E5B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c552;
/* rgb */ color: rgb(214, 197, 82);
/* oklch */ color: oklch(81.6% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#e6d687',
    500: '#d6c552',
    950: '#000000',
  },
}
SCSS
$custom: #d6c552;
$custom-light: #e6d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c552",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 52.273,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81588,
    "c": 0.13563,
    "h": 100.9
  },
  "luminance": 0.54838
}

Semantic roles & 50–950 ramp

primary
#D6C552
secondary
#3A4592
accent
#58E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C552

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

Preview Lab → · Contrast checker → · Palette generator →

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