#D4CC41#D4CC41

#D4CC41 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.154 H 106.0°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D4CC41
RGBrgb(212, 204, 65)
HSLhsl(57, 63%, 54%)
HSVhsv(57, 69%, 83%)
CMYKcmyk(0%, 3.8%, 69.3%, 16.9%)
CIE-LABlab(80.50, -13.12, 66.66)
CIE-LCHlch(80.50, 67.94, 101.13°)
OKLaboklab(82.74% -0.0427 0.1484)
OKLCHoklch(82.74% 0.154 106)
XYZxyz(49.7003, 57.5662, 13.4934)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC41 #4149D4
analogous
#D48341 #D4CC41 #92D441
triadic
#D4CC41 #41D4CC #CC41D4
tetradic
#D4CC41 #41D483 #4149D4 #D44192
square
#D4CC41 #41D483 #4149D4 #D44192
split-complementary
#D4CC41 #4192D4 #8341D4
monochromatic
#7E791D #B0A928 #D4CC41 #DFD973 #EBE7A5

Accessibility & contrast

On white

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

On black

12.51
#D4CC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC41
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC41#FFFFFF#000000##000000
##D4CC411.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cc41;
/* rgb */ color: rgb(212, 204, 65);
/* oklch */ color: oklch(82.7% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e5db7e',
    500: '#d4cc41',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc41;
$custom-light: #e5db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc41",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 56.735,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.15443,
    "h": 106
  },
  "luminance": 0.57564
}

Semantic roles & 50–950 ramp

primary
#D4CC41
secondary
#343885
accent
#4BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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