#D5CC39#D5CC39

#D5CC39 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.159 H 105.8°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D5CC39
RGBrgb(213, 204, 57)
HSLhsl(57, 65%, 53%)
HSVhsv(57, 73%, 84%)
CMYKcmyk(0%, 4.2%, 73.2%, 16.5%)
CIE-LABlab(80.53, -13.07, 69.57)
CIE-LCHlch(80.53, 70.78, 100.64°)
OKLaboklab(82.77% -0.0434 0.1531)
OKLCHoklch(82.77% 0.159 105.8)
XYZxyz(49.7740, 57.6291, 12.3718)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC39 #3942D5
analogous
#D57E39 #D5CC39 #90D539
triadic
#D5CC39 #39D5CC #CC39D5
tetradic
#D5CC39 #39D57E #3942D5 #D53990
square
#D5CC39 #39D57E #3942D5 #D53990
split-complementary
#D5CC39 #3990D5 #7E39D5
monochromatic
#7A741A #ACA425 #D5CC39 #E0D96B #EAE69E

Accessibility & contrast

On white

1.68
#D5CC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D5CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC39
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC39#FFFFFF#000000##000000
##D5CC391.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC41C
Deuteranopia (green-blind)
#E1CB44
Tritanopia (blue-blind)
#E5BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc39;
/* rgb */ color: rgb(213, 204, 57);
/* oklch */ color: oklch(82.8% 0.159 105.8);
Tailwind
colors: {
  custom: {
    50: '#e6db7a',
    500: '#d5cc39',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc39;
$custom-light: #e6db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc39",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 56.538,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82769,
    "c": 0.15913,
    "h": 105.8
  },
  "luminance": 0.57627
}

Semantic roles & 50–950 ramp

primary
#D5CC39
secondary
#313582
accent
#4AE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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