#D6C672#D6C672

#D6C672 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.107 H 98.8°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D6C672
RGBrgb(214, 198, 114)
HSLhsl(50, 55%, 64%)
HSVhsv(50, 47%, 84%)
CMYKcmyk(0%, 7.5%, 46.7%, 16.1%)
CIE-LABlab(79.56, -5.68, 43.90)
CIE-LCHlch(79.56, 44.27, 97.37°)
OKLaboklab(82.18% -0.0163 0.1054)
OKLCHoklch(82.18% 0.107 98.8)
XYZxyz(50.9643, 55.9010, 24.0217)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C672 #7282D6
analogous
#D69472 #D6C672 #B4D672
triadic
#D6C672 #72D6C6 #C672D6
tetradic
#D6C672 #72D694 #7282D6 #D672B4
square
#D6C672 #72D694 #7282D6 #D672B4
split-complementary
#D6C672 #72B4D6 #9472D6
monochromatic
#9F8D2E #C8B343 #D6C672 #E4D9A1 #F2ECD1

Accessibility & contrast

On white

1.72
#D6C672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D6C672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C672
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C672#FFFFFF#000000##000000
##D6C6721.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26B
Deuteranopia (green-blind)
#D9C875
Tritanopia (blue-blind)
#E3BBB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c672;
/* rgb */ color: rgb(214, 198, 114);
/* oklch */ color: oklch(82.2% 0.107 98.8);
Tailwind
colors: {
  custom: {
    50: '#e4d79c',
    500: '#d6c672',
    950: '#000000',
  },
}
SCSS
$custom: #d6c672;
$custom-light: #e4d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c672",
  "rgb": {
    "r": 214,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 50.4,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82182,
    "c": 0.10665,
    "h": 98.8
  },
  "luminance": 0.55899
}

Semantic roles & 50–950 ramp

primary
#D6C672
secondary
#4957A4
accent
#3DC223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D6C672

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

Preview Lab → · Contrast checker → · Palette generator →

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