#D6C17F#D6C17F

#D6C17F is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.088 H 92.5°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D6C17F
RGBrgb(214, 193, 127)
HSLhsl(46, 51%, 67%)
HSVhsv(46, 41%, 84%)
CMYKcmyk(0%, 9.8%, 40.7%, 16.1%)
CIE-LABlab(78.44, -1.76, 35.92)
CIE-LCHlch(78.44, 35.96, 92.81°)
OKLaboklab(81.36% -0.0038 0.0881)
OKLCHoklch(81.36% 0.088 92.5)
XYZxyz(50.6335, 53.9702, 27.8247)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C17F #7F94D6
analogous
#D6967F #D6C17F #C0D67F
triadic
#D6C17F #7FD6C1 #C17FD6
tetradic
#D6C17F #7FD696 #7F94D6 #D67FC0
square
#D6C17F #7FD696 #7F94D6 #D67FC0
split-complementary
#D6C17F #7FC0D6 #967FD6
monochromatic
#A68A35 #C7AB51 #D6C17F #E5D7AD #F4EEDC

Accessibility & contrast

On white

1.78
#D6C17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D6C17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C17F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C17F#FFFFFF#000000##000000
##D6C17F1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#D4C581
Tritanopia (blue-blind)
#E3B7B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c17f;
/* rgb */ color: rgb(214, 193, 127);
/* oklch */ color: oklch(81.4% 0.088 92.5);
Tailwind
colors: {
  custom: {
    50: '#e4d3a5',
    500: '#d6c17f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c17f;
$custom-light: #e4d3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c17f",
  "rgb": {
    "r": 214,
    "g": 193,
    "b": 127
  },
  "hsl": {
    "h": 45.517,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81362,
    "c": 0.08815,
    "h": 92.5
  },
  "luminance": 0.53968
}

Semantic roles & 50–950 ramp

primary
#D6C17F
secondary
#5065AA
accent
#4BBF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D6C17F

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

Preview Lab → · Contrast checker → · Palette generator →

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