#D5CC55#D5CC55

#D5CC55 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.140 H 105.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D5CC55
RGBrgb(213, 204, 85)
HSLhsl(56, 60%, 58%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 4.2%, 60.1%, 16.5%)
CIE-LABlab(80.73, -11.52, 58.84)
CIE-LCHlch(80.73, 59.96, 101.07°)
OKLaboklab(82.99% -0.0361 0.1349)
OKLCHoklch(82.99% 0.14 105)
XYZxyz(50.6749, 57.9895, 17.1163)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC55 #555ED5
analogous
#D58C55 #D5CC55 #9ED555
triadic
#D5CC55 #55D5CC #CC55D5
tetradic
#D5CC55 #55D58C #555ED5 #D5559E
square
#D5CC55 #55D58C #555ED5 #D5559E
split-complementary
#D5CC55 #559ED5 #8C55D5
monochromatic
#8D8523 #BEB42F #D5CC55 #E1DB86 #EDE9B7

Accessibility & contrast

On white

1.67
#D5CC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D5CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC55
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC55#FFFFFF#000000##000000
##D5CC551.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC548
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#E4BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc55;
/* rgb */ color: rgb(213, 204, 85);
/* oklch */ color: oklch(83.0% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e5db8a',
    500: '#d5cc55',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc55;
$custom-light: #e5db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc55",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 55.781,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82993,
    "c": 0.13965,
    "h": 105
  },
  "luminance": 0.57988
}

Semantic roles & 50–950 ramp

primary
#D5CC55
secondary
#3C4293
accent
#4FE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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