#D5C166#D5C166

#D5C166 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.114 H 97.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D5C166
RGBrgb(213, 193, 102)
HSLhsl(49, 57%, 62%)
HSVhsv(49, 52%, 84%)
CMYKcmyk(0%, 9.4%, 52.1%, 16.5%)
CIE-LABlab(78.02, -4.59, 47.91)
CIE-LCHlch(78.02, 48.13, 95.47°)
OKLaboklab(80.9% -0.0143 0.1133)
OKLCHoklch(80.9% 0.114 97.2)
XYZxyz(48.9105, 53.2473, 20.2692)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C166 #667AD5
analogous
#D58A66 #D5C166 #B2D566
triadic
#D5C166 #66D5C1 #C166D5
tetradic
#D5C166 #66D58A #667AD5 #D566B2
square
#D5C166 #66D58A #667AD5 #D566B2
split-complementary
#D5C166 #66B2D5 #8A66D5
monochromatic
#978329 #C7AD37 #D5C166 #E2D496 #EFE8C6

Accessibility & contrast

On white

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

On black

11.65
#D5C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C166
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C166#FFFFFF#000000##000000
##D5C1661.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#E3B5AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c166;
/* rgb */ color: rgb(213, 193, 102);
/* oklch */ color: oklch(80.9% 0.114 97.2);
Tailwind
colors: {
  custom: {
    50: '#e4d394',
    500: '#d5c166',
    950: '#000000',
  },
}
SCSS
$custom: #d5c166;
$custom-light: #e4d394;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c166",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 49.189,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80897,
    "c": 0.11418,
    "h": 97.2
  },
  "luminance": 0.53245
}

Semantic roles & 50–950 ramp

primary
#D5C166
secondary
#43539C
accent
#3EC421
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C166

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

Preview Lab → · Contrast checker → · Palette generator →

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