#D5CD50#D5CD50

#D5CD50 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.145 H 105.6°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D5CD50
RGBrgb(213, 205, 80)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 3.8%, 62.4%, 16.5%)
CIE-LABlab(80.95, -12.35, 61.22)
CIE-LCHlch(80.95, 62.45, 101.41°)
OKLaboklab(83.16% -0.039 0.1393)
OKLCHoklch(83.16% 0.145 105.6)
XYZxyz(50.7217, 58.3897, 16.1864)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD50 #5058D5
analogous
#D58B50 #D5CD50 #9AD550
triadic
#D5CD50 #50D5CD #CD50D5
tetradic
#D5CD50 #50D58B #5058D5 #D5509A
square
#D5CD50 #50D58B #5058D5 #D5509A
split-complementary
#D5CD50 #509AD5 #8B50D5
monochromatic
#8A8321 #BBB22D #D5CD50 #E1DB81 #EDE9B3

Accessibility & contrast

On white

1.66
#D5CD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D5CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD50
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD50#FFFFFF#000000##000000
##D5CD501.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#E4C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd50;
/* rgb */ color: rgb(213, 205, 80);
/* oklch */ color: oklch(83.2% 0.145 105.6);
Tailwind
colors: {
  custom: {
    50: '#e5dc87',
    500: '#d5cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd50;
$custom-light: #e5dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd50",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 56.391,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83157,
    "c": 0.14461,
    "h": 105.6
  },
  "luminance": 0.58388
}

Semantic roles & 50–950 ramp

primary
#D5CD50
secondary
#393F90
accent
#4DE443
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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