#D5CA40#D5CA40

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

Color values

HEX#D5CA40
RGBrgb(213, 202, 64)
HSLhsl(56, 64%, 54%)
HSVhsv(56, 70%, 84%)
CMYKcmyk(0%, 5.2%, 70%, 16.5%)
CIE-LABlab(80.04, -11.74, 66.61)
CIE-LCHlch(80.04, 67.64, 99.99°)
OKLaboklab(82.39% -0.0389 0.1481)
OKLCHoklch(82.39% 0.153 104.7)
XYZxyz(49.4885, 56.7593, 13.1983)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA40 #404BD5
analogous
#D57F40 #D5CA40 #96D540
triadic
#D5CA40 #40D5CA #CA40D5
tetradic
#D5CA40 #40D57F #404BD5 #D54096
square
#D5CA40 #40D57F #404BD5 #D54096
split-complementary
#D5CA40 #4096D5 #7F40D5
monochromatic
#7F771C #B1A727 #D5CA40 #E0D872 #EBE6A4

Accessibility & contrast

On white

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

On black

12.35
#D5CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA40
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA40#FFFFFF#000000##000000
##D5CA401.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32A
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#E5BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5ca40;
/* rgb */ color: rgb(213, 202, 64);
/* oklch */ color: oklch(82.4% 0.153 104.7);
Tailwind
colors: {
  custom: {
    50: '#e6d97d',
    500: '#d5ca40',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca40;
$custom-light: #e6d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca40",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 55.57,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.15314,
    "h": 104.7
  },
  "luminance": 0.56757
}

Semantic roles & 50–950 ramp

primary
#D5CA40
secondary
#333986
accent
#4DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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