#D4CA50#D4CA50

#D4CA50 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.142 H 104.6°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D4CA50
RGBrgb(212, 202, 80)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 62%, 83%)
CMYKcmyk(0%, 4.7%, 62.3%, 16.9%)
CIE-LABlab(80.08, -11.25, 60.25)
CIE-LCHlch(80.08, 61.29, 100.58°)
OKLaboklab(82.44% -0.0358 0.1372)
OKLCHoklch(82.44% 0.142 104.6)
XYZxyz(49.7217, 56.8191, 15.9359)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA50 #505AD4
analogous
#D48850 #D4CA50 #9CD450
triadic
#D4CA50 #50D4CA #CA50D4
tetradic
#D4CA50 #50D488 #505AD4 #D4509C
square
#D4CA50 #50D488 #505AD4 #D4509C
split-complementary
#D4CA50 #509CD4 #8850D4
monochromatic
#888021 #B9AF2E #D4CA50 #E0D981 #ECE8B2

Accessibility & contrast

On white

1.70
#D4CA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#D4CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA50
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA50#FFFFFF#000000##000000
##D4CA501.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC341
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E3BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4ca50;
/* rgb */ color: rgb(212, 202, 80);
/* oklch */ color: oklch(82.4% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4d986',
    500: '#d4ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca50;
$custom-light: #e4d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca50",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 55.455,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82438,
    "c": 0.14184,
    "h": 104.6
  },
  "luminance": 0.56817
}

Semantic roles & 50–950 ramp

primary
#D4CA50
secondary
#3A408F
accent
#50E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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