#D6C562#D6C562

#D6C562 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.122 H 99.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D6C562
RGBrgb(214, 197, 98)
HSLhsl(51, 59%, 61%)
HSVhsv(51, 54%, 84%)
CMYKcmyk(0%, 7.9%, 54.2%, 16.1%)
CIE-LABlab(79.11, -6.57, 51.12)
CIE-LCHlch(79.11, 51.54, 97.32°)
OKLaboklab(81.76% -0.0205 0.1199)
OKLCHoklch(81.76% 0.122 99.7)
XYZxyz(49.9041, 55.1124, 19.5620)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C562 #6273D6
analogous
#D68B62 #D6C562 #ADD662
triadic
#D6C562 #62D6C5 #C562D6
tetradic
#D6C562 #62D68B #6273D6 #D662AD
square
#D6C562 #62D68B #6273D6 #D662AD
split-complementary
#D6C562 #62ADD6 #8B62D6
monochromatic
#968627 #C7B134 #D6C562 #E3D793 #EFE9C3

Accessibility & contrast

On white

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

On black

12.02
#D6C562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C562
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C562#FFFFFF#000000##000000
##D6C5621.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#E4B9AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c562;
/* rgb */ color: rgb(214, 197, 98);
/* oklch */ color: oklch(81.8% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#e5d691',
    500: '#d6c562',
    950: '#000000',
  },
}
SCSS
$custom: #d6c562;
$custom-light: #e5d691;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c562",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 51.207,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81763,
    "c": 0.12162,
    "h": 99.7
  },
  "luminance": 0.5511
}

Semantic roles & 50–950 ramp

primary
#D6C562
secondary
#414E9B
accent
#38C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C562

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

Preview Lab → · Contrast checker → · Palette generator →

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