#D6C867#D6C867

#D6C867 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.120 H 101.2°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D6C867
RGBrgb(214, 200, 103)
HSLhsl(52, 58%, 62%)
HSVhsv(52, 52%, 84%)
CMYKcmyk(0%, 6.5%, 51.9%, 16.1%)
CIE-LABlab(79.95, -7.70, 49.74)
CIE-LCHlch(79.95, 50.33, 98.80°)
OKLaboklab(82.45% -0.0232 0.1174)
OKLCHoklch(82.45% 0.12 101.2)
XYZxyz(50.8356, 56.5858, 21.0737)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C867 #6775D6
analogous
#D69067 #D6C867 #ADD667
triadic
#D6C867 #67D6C8 #C867D6
tetradic
#D6C867 #67D690 #6775D6 #D667AD
square
#D6C867 #67D690 #6775D6 #D667AD
split-complementary
#D6C867 #67ADD6 #9067D6
monochromatic
#998B29 #C9B737 #D6C867 #E3D997 #F0EBC7

Accessibility & contrast

On white

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

On black

12.32
#D6C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C867
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C867#FFFFFF#000000##000000
##D6C8671.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35E
Deuteranopia (green-blind)
#DCC96B
Tritanopia (blue-blind)
#E4BCB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c867;
/* rgb */ color: rgb(214, 200, 103);
/* oklch */ color: oklch(82.4% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#e5d895',
    500: '#d6c867',
    950: '#000000',
  },
}
SCSS
$custom: #d6c867;
$custom-light: #e5d895;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c867",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 52.432,
    "s": 57.513,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82447,
    "c": 0.11963,
    "h": 101.2
  },
  "luminance": 0.56584
}

Semantic roles & 50–950 ramp

primary
#D6C867
secondary
#434F9E
accent
#35C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C867

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

Preview Lab → · Contrast checker → · Palette generator →

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