#D7C06A#D7C06A

#D7C06A is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.110 H 94.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D7C06A
RGBrgb(215, 192, 106)
HSLhsl(47, 58%, 63%)
HSVhsv(47, 51%, 84%)
CMYKcmyk(0%, 10.7%, 50.7%, 15.7%)
CIE-LABlab(77.99, -2.90, 45.96)
CIE-LCHlch(77.99, 46.05, 93.61°)
OKLaboklab(80.93% -0.0091 0.1093)
OKLCHoklch(80.93% 0.11 94.8)
XYZxyz(49.4772, 53.1890, 21.2932)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C06A #6A81D7
analogous
#D7896A #D7C06A #B8D76A
triadic
#D7C06A #6AD7C0 #C06AD7
tetradic
#D7C06A #6AD789 #6A81D7 #D76AB8
square
#D7C06A #6AD789 #6A81D7 #D76AB8
split-complementary
#D7C06A #6AB8D7 #896AD7
monochromatic
#9D842A #CAAC3A #D7C06A #E4D49A #F1E9CA

Accessibility & contrast

On white

1.80
#D7C06A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D7C06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C06A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C06A#FFFFFF#000000##000000
##D7C06A1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD63
Deuteranopia (green-blind)
#D6C46D
Tritanopia (blue-blind)
#E5B4AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c06a;
/* rgb */ color: rgb(215, 192, 106);
/* oklch */ color: oklch(80.9% 0.110 94.8);
Tailwind
colors: {
  custom: {
    50: '#e5d296',
    500: '#d7c06a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c06a;
$custom-light: #e5d296;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c06a",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 106
  },
  "hsl": {
    "h": 47.339,
    "s": 57.672,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80928,
    "c": 0.1097,
    "h": 94.8
  },
  "luminance": 0.53187
}

Semantic roles & 50–950 ramp

primary
#D7C06A
secondary
#4458A1
accent
#43C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C06A

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

Preview Lab → · Contrast checker → · Palette generator →

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