#D6CC7D#D6CC7D

#D6CC7D is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.101 H 102.0°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D6CC7D
RGBrgb(214, 204, 125)
HSLhsl(53, 52%, 66%)
HSVhsv(53, 42%, 84%)
CMYKcmyk(0%, 4.7%, 41.6%, 16.1%)
CIE-LABlab(81.27, -7.66, 40.55)
CIE-LCHlch(81.27, 41.27, 100.70°)
OKLaboklab(83.59% -0.021 0.0985)
OKLCHoklch(83.59% 0.101 102)
XYZxyz(53.0272, 58.9640, 27.9860)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC7D #7D87D6
analogous
#D6A07D #D6CC7D #B4D67D
triadic
#D6CC7D #7DD6CC #CC7DD6
tetradic
#D6CC7D #7DD6A0 #7D87D6 #D67DB4
square
#D6CC7D #7DD6A0 #7D87D6 #D67DB4
split-complementary
#D6CC7D #7DB4D6 #A07DD6
monochromatic
#A59834 #C7BA4E #D6CC7D #E5DEAC #F3F1DA

Accessibility & contrast

On white

1.64
#D6CC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D6CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC7D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC7D#FFFFFF#000000##000000
##D6CC7D1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#E2C2B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d6cc7d;
/* rgb */ color: rgb(214, 204, 125);
/* oklch */ color: oklch(83.6% 0.101 102.0);
Tailwind
colors: {
  custom: {
    50: '#e4dba4',
    500: '#d6cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc7d;
$custom-light: #e4dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc7d",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 53.258,
    "s": 52.047,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83589,
    "c": 0.10075,
    "h": 102
  },
  "luminance": 0.58963
}

Semantic roles & 50–950 ramp

primary
#D6CC7D
secondary
#4F59A9
accent
#37BF26
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D6CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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