#D5CC66#D5CC66

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

Color values

HEX#D5CC66
RGBrgb(213, 204, 102)
HSLhsl(55, 57%, 62%)
HSVhsv(55, 52%, 84%)
CMYKcmyk(0%, 4.2%, 52.1%, 16.5%)
CIE-LABlab(80.90, -10.23, 51.32)
CIE-LCHlch(80.90, 52.33, 101.27°)
OKLaboklab(83.18% -0.0305 0.1207)
OKLCHoklch(83.18% 0.125 104.2)
XYZxyz(51.4332, 58.2928, 21.1101)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC66 #666FD5
analogous
#D59566 #D5CC66 #A7D566
triadic
#D5CC66 #66D5CC #CC66D5
tetradic
#D5CC66 #66D595 #666FD5 #D566A7
square
#D5CC66 #66D595 #666FD5 #D566A7
split-complementary
#D5CC66 #66A7D5 #9566D5
monochromatic
#978E29 #C7BB37 #D5CC66 #E2DC96 #EFECC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC66#FFFFFF#000000##000000
##D5CC661.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)
#DBC65C
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#E3C0B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc66;
/* rgb */ color: rgb(213, 204, 102);
/* oklch */ color: oklch(83.2% 0.125 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4db94',
    500: '#d5cc66',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc66;
$custom-light: #e4db94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc66",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 55.135,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83182,
    "c": 0.12452,
    "h": 104.2
  },
  "luminance": 0.58291
}

Semantic roles & 50–950 ramp

primary
#D5CC66
secondary
#434A9C
accent
#2EC421
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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