#D4CA59#D4CA59

#D4CA59 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.134 H 104.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D4CA59
RGBrgb(212, 202, 89)
HSLhsl(55, 59%, 59%)
HSVhsv(55, 58%, 83%)
CMYKcmyk(0%, 4.7%, 58%, 16.9%)
CIE-LABlab(80.16, -10.64, 56.42)
CIE-LCHlch(80.16, 57.41, 100.68°)
OKLaboklab(82.53% -0.0331 0.1303)
OKLCHoklch(82.53% 0.134 104.2)
XYZxyz(50.0768, 56.9611, 17.8060)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA59 #5963D4
analogous
#D48D59 #D4CA59 #A1D459
triadic
#D4CA59 #59D4CA #CA59D4
tetradic
#D4CA59 #59D48D #5963D4 #D459A1
square
#D4CA59 #59D48D #5963D4 #D459A1
split-complementary
#D4CA59 #59A1D4 #8D59D4
monochromatic
#8E8525 #BEB331 #D4CA59 #E1DA8A #EDE9BA

Accessibility & contrast

On white

1.69
#D4CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D4CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA59
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA59#FFFFFF#000000##000000
##D4CA591.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44D
Deuteranopia (green-blind)
#DEC95F
Tritanopia (blue-blind)
#E2BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4ca59;
/* rgb */ color: rgb(212, 202, 89);
/* oklch */ color: oklch(82.5% 0.134 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4d98c',
    500: '#d4ca59',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca59;
$custom-light: #e4d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca59",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 55.122,
    "s": 58.852,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82528,
    "c": 0.13442,
    "h": 104.2
  },
  "luminance": 0.56959
}

Semantic roles & 50–950 ramp

primary
#D4CA59
secondary
#3E4594
accent
#52E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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