#D6D772#D6D772

#D6D772 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.7% C 0.124 H 109.3°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D6D772
RGBrgb(214, 215, 114)
HSLhsl(61, 56%, 65%)
HSVhsv(61, 47%, 84%)
CMYKcmyk(0.5%, 0%, 47%, 15.7%)
CIE-LABlab(84.02, -14.31, 49.35)
CIE-LCHlch(84.02, 51.39, 106.17°)
OKLaboklab(85.73% -0.0411 0.1175)
OKLCHoklch(85.73% 0.124 109.3)
XYZxyz(55.0704, 64.1132, 25.3904)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D772 #7372D7
analogous
#D7A672 #D6D772 #A4D772
triadic
#D6D772 #72D6D7 #D772D6
tetradic
#D6D772 #72D7A6 #7372D7 #D772A4
square
#D6D772 #72D7A6 #7372D7 #D772A4
split-complementary
#D6D772 #72A4D7 #A672D7
monochromatic
#A0A12E #C8C942 #D6D772 #E4E5A2 #F2F2D1

Accessibility & contrast

On white

1.52
#D6D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#D6D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D772
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D772#FFFFFF#000000##000000
##D6D7721.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#E2CCC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d772;
/* rgb */ color: rgb(214, 215, 114);
/* oklch */ color: oklch(85.7% 0.124 109.3);
Tailwind
colors: {
  custom: {
    50: '#e4e39d',
    500: '#d6d772',
    950: '#000000',
  },
}
SCSS
$custom: #d6d772;
$custom-light: #e4e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d772",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 60.594,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8573,
    "c": 0.12443,
    "h": 109.3
  },
  "luminance": 0.64112
}

Semantic roles & 50–950 ramp

primary
#D6D772
secondary
#4948A5
accent
#22C324
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D6D772

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

Preview Lab → · Contrast checker → · Palette generator →

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