#D5CC41#D5CC41

#D5CC41 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.154 H 105.6°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D5CC41
RGBrgb(213, 204, 65)
HSLhsl(56, 64%, 55%)
HSVhsv(56, 69%, 84%)
CMYKcmyk(0%, 4.2%, 69.5%, 16.5%)
CIE-LABlab(80.58, -12.70, 66.77)
CIE-LCHlch(80.58, 67.97, 100.77°)
OKLaboklab(82.82% -0.0415 0.1486)
OKLCHoklch(82.82% 0.154 105.6)
XYZxyz(49.9896, 57.7154, 13.5070)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC41 #414AD5
analogous
#D58241 #D5CC41 #94D541
triadic
#D5CC41 #41D5CC #CC41D5
tetradic
#D5CC41 #41D582 #414AD5 #D54194
square
#D5CC41 #41D582 #414AD5 #D54194
split-complementary
#D5CC41 #4194D5 #8241D5
monochromatic
#7F791C #B2A927 #D5CC41 #E0D973 #EBE7A5

Accessibility & contrast

On white

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

On black

12.54
#D5CC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC41
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC41#FFFFFF#000000##000000
##D5CC411.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52B
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E4BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc41;
/* rgb */ color: rgb(213, 204, 65);
/* oklch */ color: oklch(82.8% 0.154 105.6);
Tailwind
colors: {
  custom: {
    50: '#e6db7e',
    500: '#d5cc41',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc41;
$custom-light: #e6db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc41",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 56.351,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82823,
    "c": 0.15431,
    "h": 105.6
  },
  "luminance": 0.57714
}

Semantic roles & 50–950 ramp

primary
#D5CC41
secondary
#343987
accent
#4BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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