#D6D472#D6D472

#D6D472 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.121 H 107.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D6D472
RGBrgb(214, 212, 114)
HSLhsl(59, 55%, 64%)
HSVhsv(59, 47%, 84%)
CMYKcmyk(0%, 0.9%, 46.7%, 16.1%)
CIE-LABlab(83.23, -12.80, 48.39)
CIE-LCHlch(83.23, 50.06, 104.82°)
OKLaboklab(85.1% -0.0368 0.1153)
OKLCHoklch(85.1% 0.121 107.7)
XYZxyz(54.3135, 62.5993, 25.1381)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D472 #7274D6
analogous
#D6A272 #D6D472 #A6D672
triadic
#D6D472 #72D6D4 #D472D6
tetradic
#D6D472 #72D6A2 #7274D6 #D672A6
square
#D6D472 #72D6A2 #7274D6 #D672A6
split-complementary
#D6D472 #72A6D6 #A272D6
monochromatic
#9F9D2E #C8C643 #D6D472 #E4E2A1 #F2F1D1

Accessibility & contrast

On white

1.55
#D6D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D6D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D472
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D472#FFFFFF#000000##000000
##D6D4721.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E4D177
Tritanopia (blue-blind)
#E2C9BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d472;
/* rgb */ color: rgb(214, 212, 114);
/* oklch */ color: oklch(85.1% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#e4e19c',
    500: '#d6d472',
    950: '#000000',
  },
}
SCSS
$custom: #d6d472;
$custom-light: #e4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d472",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 58.8,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85098,
    "c": 0.12106,
    "h": 107.7
  },
  "luminance": 0.62598
}

Semantic roles & 50–950 ramp

primary
#D6D472
secondary
#494AA4
accent
#26C223
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D6D472

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

Preview Lab → · Contrast checker → · Palette generator →

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