#D4CC50#D4CC50

#D4CC50 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.144 H 105.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D4CC50
RGBrgb(212, 204, 80)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 62%, 83%)
CMYKcmyk(0%, 3.8%, 62.3%, 16.9%)
CIE-LABlab(80.61, -12.26, 60.82)
CIE-LCHlch(80.61, 62.04, 101.40°)
OKLaboklab(82.86% -0.0387 0.1384)
OKLCHoklch(82.86% 0.144 105.6)
XYZxyz(50.1940, 57.7637, 16.0934)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC50 #5058D4
analogous
#D48A50 #D4CC50 #9AD450
triadic
#D4CC50 #50D4CC #CC50D4
tetradic
#D4CC50 #50D48A #5058D4 #D4509A
square
#D4CC50 #50D48A #5058D4 #D4509A
split-complementary
#D4CC50 #509AD4 #8A50D4
monochromatic
#888221 #B9B12E #D4CC50 #E0DA81 #ECE9B2

Accessibility & contrast

On white

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

On black

12.55
#D4CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC50
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC50#FFFFFF#000000##000000
##D4CC501.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E3BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc50;
/* rgb */ color: rgb(212, 204, 80);
/* oklch */ color: oklch(82.9% 0.144 105.6);
Tailwind
colors: {
  custom: {
    50: '#e4db86',
    500: '#d4cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc50;
$custom-light: #e4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc50",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 56.364,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8286,
    "c": 0.14374,
    "h": 105.6
  },
  "luminance": 0.57762
}

Semantic roles & 50–950 ramp

primary
#D4CC50
secondary
#3A3F8F
accent
#4EE444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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