#D5C366#D5C366

#D5C366 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.116 H 98.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#D5C366
RGBrgb(213, 195, 102)
HSLhsl(50, 57%, 62%)
HSVhsv(50, 52%, 84%)
CMYKcmyk(0%, 8.5%, 52.1%, 16.5%)
CIE-LABlab(78.54, -5.62, 48.53)
CIE-LCHlch(78.54, 48.85, 96.61°)
OKLaboklab(81.31% -0.0173 0.1146)
OKLCHoklch(81.31% 0.116 98.6)
XYZxyz(49.3556, 54.1376, 20.4176)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C366 #6678D5
analogous
#D58C66 #D5C366 #B0D566
triadic
#D5C366 #66D5C3 #C366D5
tetradic
#D5C366 #66D58C #6678D5 #D566B0
square
#D5C366 #66D58C #6678D5 #D566B0
split-complementary
#D5C366 #66B0D5 #8C66D5
monochromatic
#978529 #C7B037 #D5C366 #E2D696 #EFE9C6

Accessibility & contrast

On white

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

On black

11.83
#D5C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C366
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C366#FFFFFF#000000##000000
##D5C3661.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#E3B7AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c366;
/* rgb */ color: rgb(213, 195, 102);
/* oklch */ color: oklch(81.3% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#e4d494',
    500: '#d5c366',
    950: '#000000',
  },
}
SCSS
$custom: #d5c366;
$custom-light: #e4d494;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c366",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 50.27,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.11594,
    "h": 98.6
  },
  "luminance": 0.54136
}

Semantic roles & 50–950 ramp

primary
#D5C366
secondary
#43529C
accent
#3CC421
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C366

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

Preview Lab → · Contrast checker → · Palette generator →

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