#D6C77F#D6C77F

#D6C77F is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.094 H 97.9°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D6C77F
RGBrgb(214, 199, 127)
HSLhsl(50, 51%, 67%)
HSVhsv(50, 41%, 84%)
CMYKcmyk(0%, 7%, 40.7%, 16.1%)
CIE-LABlab(80.00, -4.88, 37.91)
CIE-LCHlch(80.00, 38.23, 97.33°)
OKLaboklab(82.59% -0.0128 0.0926)
OKLCHoklch(82.59% 0.094 97.9)
XYZxyz(51.9868, 56.6769, 28.2758)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C77F #7F8ED6
analogous
#D69C7F #D6C77F #BAD67F
triadic
#D6C77F #7FD6C7 #C77FD6
tetradic
#D6C77F #7FD69C #7F8ED6 #D67FBA
square
#D6C77F #7FD69C #7F8ED6 #D67FBA
split-complementary
#D6C77F #7FBAD6 #9C7FD6
monochromatic
#A69235 #C7B351 #D6C77F #E5DBAD #F4F0DC

Accessibility & contrast

On white

1.70
#D6C77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D6C77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C77F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C77F#FFFFFF#000000##000000
##D6C77F1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37A
Deuteranopia (green-blind)
#D8C982
Tritanopia (blue-blind)
#E2BDB5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c77f;
/* rgb */ color: rgb(214, 199, 127);
/* oklch */ color: oklch(82.6% 0.094 97.9);
Tailwind
colors: {
  custom: {
    50: '#e4d7a5',
    500: '#d6c77f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c77f;
$custom-light: #e4d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c77f",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 49.655,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82589,
    "c": 0.09352,
    "h": 97.9
  },
  "luminance": 0.56675
}

Semantic roles & 50–950 ramp

primary
#D6C77F
secondary
#505FAA
accent
#41BF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D6C77F

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

Preview Lab → · Contrast checker → · Palette generator →

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