#D6C772#D6C772

#D6C772 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.108 H 99.5°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D6C772
RGBrgb(214, 199, 114)
HSLhsl(51, 55%, 64%)
HSVhsv(51, 47%, 84%)
CMYKcmyk(0%, 7%, 46.7%, 16.1%)
CIE-LABlab(79.82, -6.19, 44.23)
CIE-LCHlch(79.82, 44.66, 97.97°)
OKLaboklab(82.39% -0.0178 0.1061)
OKLCHoklch(82.39% 0.108 99.5)
XYZxyz(51.1936, 56.3596, 24.0982)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C772 #7281D6
analogous
#D69572 #D6C772 #B3D672
triadic
#D6C772 #72D6C7 #C772D6
tetradic
#D6C772 #72D695 #7281D6 #D672B3
square
#D6C772 #72D695 #7281D6 #D672B3
split-complementary
#D6C772 #72B3D6 #9572D6
monochromatic
#9F8E2E #C8B443 #D6C772 #E4DAA1 #F2EDD1

Accessibility & contrast

On white

1.71
#D6C772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D6C772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C772
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C772#FFFFFF#000000##000000
##D6C7721.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36B
Deuteranopia (green-blind)
#DAC876
Tritanopia (blue-blind)
#E3BCB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c772;
/* rgb */ color: rgb(214, 199, 114);
/* oklch */ color: oklch(82.4% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#e4d79c',
    500: '#d6c772',
    950: '#000000',
  },
}
SCSS
$custom: #d6c772;
$custom-light: #e4d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c772",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 51,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82389,
    "c": 0.10759,
    "h": 99.5
  },
  "luminance": 0.56358
}

Semantic roles & 50–950 ramp

primary
#D6C772
secondary
#4956A4
accent
#3BC223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D6C772

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

Preview Lab → · Contrast checker → · Palette generator →

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