#D7C06F#D7C06F

#D7C06F is a light, moderate yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.105 H 94.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D7C06F
RGBrgb(215, 192, 111)
HSLhsl(47, 57%, 64%)
HSVhsv(47, 48%, 84%)
CMYKcmyk(0%, 10.7%, 48.4%, 15.7%)
CIE-LABlab(78.05, -2.45, 43.56)
CIE-LCHlch(78.05, 43.63, 93.21°)
OKLaboklab(81% -0.0073 0.1044)
OKLCHoklch(81% 0.105 94)
XYZxyz(49.7448, 53.2961, 22.7027)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C06F #6F86D7
analogous
#D78C6F #D7C06F #BAD76F
triadic
#D7C06F #6FD7C0 #C06FD7
tetradic
#D7C06F #6FD78C #6F86D7 #D76FBA
square
#D7C06F #6FD78C #6F86D7 #D76FBA
split-complementary
#D7C06F #6FBAD7 #8C6FD7
monochromatic
#9F862C #CAAB3F #D7C06F #E4D59F #F2EACF

Accessibility & contrast

On white

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

On black

11.66
#D7C06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C06F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C06F#FFFFFF#000000##000000
##D7C06F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD68
Deuteranopia (green-blind)
#D5C472
Tritanopia (blue-blind)
#E5B5AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c06f;
/* rgb */ color: rgb(215, 192, 111);
/* oklch */ color: oklch(81.0% 0.105 94.0);
Tailwind
colors: {
  custom: {
    50: '#e5d29a',
    500: '#d7c06f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c06f;
$custom-light: #e5d29a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c06f",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 46.731,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80998,
    "c": 0.10465,
    "h": 94
  },
  "luminance": 0.53294
}

Semantic roles & 50–950 ramp

primary
#D7C06F
secondary
#475BA3
accent
#45C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C06F

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

Preview Lab → · Contrast checker → · Palette generator →

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