#D6CC5F#D6CC5F

#D6CC5F is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.131 H 104.1°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D6CC5F
RGBrgb(214, 204, 95)
HSLhsl(55, 59%, 61%)
HSVhsv(55, 56%, 84%)
CMYKcmyk(0%, 4.7%, 55.6%, 16.1%)
CIE-LABlab(80.91, -10.38, 54.60)
CIE-LCHlch(80.91, 55.58, 100.77°)
OKLaboklab(83.19% -0.0318 0.1271)
OKLCHoklch(83.19% 0.131 104.1)
XYZxyz(51.3916, 58.3098, 19.3721)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC5F #5F69D6
analogous
#D6905F #D6CC5F #A4D65F
triadic
#D6CC5F #5FD6CC #CC5FD6
tetradic
#D6CC5F #5FD690 #5F69D6 #D65FA4
square
#D6CC5F #5FD690 #5F69D6 #D65FA4
split-complementary
#D6CC5F #5FA4D6 #905FD6
monochromatic
#958B26 #C5B933 #D6CC5F #E2DC90 #EFEBC0

Accessibility & contrast

On white

1.66
#D6CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D6CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC5F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC5F#FFFFFF#000000##000000
##D6CC5F1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#E4C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cc5f;
/* rgb */ color: rgb(214, 204, 95);
/* oklch */ color: oklch(83.2% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#e5db90',
    500: '#d6cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc5f;
$custom-light: #e5db90;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc5f",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 54.958,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83185,
    "c": 0.13098,
    "h": 104.1
  },
  "luminance": 0.58308
}

Semantic roles & 50–950 ramp

primary
#D6CC5F
secondary
#40479A
accent
#2DC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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