#D7C066#D7C066

#D7C066 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.114 H 95.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D7C066
RGBrgb(215, 192, 102)
HSLhsl(48, 59%, 62%)
HSVhsv(48, 53%, 84%)
CMYKcmyk(0%, 10.7%, 52.6%, 15.7%)
CIE-LABlab(77.94, -3.24, 47.85)
CIE-LCHlch(77.94, 47.96, 93.88°)
OKLaboklab(80.87% -0.0106 0.1131)
OKLCHoklch(80.87% 0.114 95.3)
XYZxyz(49.2740, 53.1078, 20.2231)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C066 #667DD7
analogous
#D78866 #D7C066 #B5D766
triadic
#D7C066 #66D7C0 #C066D7
tetradic
#D7C066 #66D788 #667DD7 #D766B5
square
#D7C066 #66D788 #667DD7 #D766B5
split-complementary
#D7C066 #66B5D7 #8866D7
monochromatic
#9A8328 #CAAC35 #D7C066 #E4D497 #F0E8C7

Accessibility & contrast

On white

1.81
#D7C066 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D7C066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C066
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C066#FFFFFF#000000##000000
##D7C0661.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#E6B4AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c066;
/* rgb */ color: rgb(215, 192, 102);
/* oklch */ color: oklch(80.9% 0.114 95.3);
Tailwind
colors: {
  custom: {
    50: '#e6d294',
    500: '#d7c066',
    950: '#000000',
  },
}
SCSS
$custom: #d7c066;
$custom-light: #e6d294;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c066",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 102
  },
  "hsl": {
    "h": 47.788,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80874,
    "c": 0.11362,
    "h": 95.3
  },
  "luminance": 0.53106
}

Semantic roles & 50–950 ramp

primary
#D7C066
secondary
#42559F
accent
#41C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C066

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

Preview Lab → · Contrast checker → · Palette generator →

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