#D5CC57#D5CC57

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

Color values

HEX#D5CC57
RGBrgb(213, 204, 87)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 59%, 84%)
CMYKcmyk(0%, 4.2%, 59.2%, 16.5%)
CIE-LABlab(80.75, -11.38, 57.99)
CIE-LCHlch(80.75, 59.09, 101.10°)
OKLaboklab(83.01% -0.0355 0.1334)
OKLCHoklch(83.01% 0.138 104.9)
XYZxyz(50.7555, 58.0217, 17.5407)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC57 #5760D5
analogous
#D58D57 #D5CC57 #9FD557
triadic
#D5CC57 #57D5CC #CC57D5
tetradic
#D5CC57 #57D58D #5760D5 #D5579F
square
#D5CC57 #57D58D #5760D5 #D5579F
split-complementary
#D5CC57 #579FD5 #8D57D5
monochromatic
#8E8624 #BFB530 #D5CC57 #E1DB88 #EDEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC57#FFFFFF#000000##000000
##D5CC571.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)
#DCC54A
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#E4BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc57;
/* rgb */ color: rgb(213, 204, 87);
/* oklch */ color: oklch(83.0% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e5db8b',
    500: '#d5cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc57;
$custom-light: #e5db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc57",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 55.714,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83013,
    "c": 0.138,
    "h": 104.9
  },
  "luminance": 0.5802
}

Semantic roles & 50–950 ramp

primary
#D5CC57
secondary
#3C4394
accent
#50E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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