#D5CA50#D5CA50

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

Color values

HEX#D5CA50
RGBrgb(213, 202, 80)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.2%, 62.4%, 16.5%)
CIE-LABlab(80.16, -10.83, 60.37)
CIE-LCHlch(80.16, 61.33, 100.17°)
OKLaboklab(82.53% -0.0347 0.1375)
OKLCHoklch(82.53% 0.142 104.2)
XYZxyz(50.0109, 56.9682, 15.9495)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA50 #505BD5
analogous
#D58850 #D5CA50 #9DD550
triadic
#D5CA50 #50D5CA #CA50D5
tetradic
#D5CA50 #50D588 #505BD5 #D5509D
square
#D5CA50 #50D588 #505BD5 #D5509D
split-complementary
#D5CA50 #509DD5 #8850D5
monochromatic
#8A8121 #BBAF2D #D5CA50 #E1D981 #EDE8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CA50#FFFFFF#000000##000000
##D5CA501.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)
#DBC341
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#E4BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca50;
/* rgb */ color: rgb(213, 202, 80);
/* oklch */ color: oklch(82.5% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e5d986',
    500: '#d5ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca50;
$custom-light: #e5d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca50",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 55.038,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.14177,
    "h": 104.2
  },
  "luminance": 0.56966
}

Semantic roles & 50–950 ramp

primary
#D5CA50
secondary
#394190
accent
#51E443
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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