#D5C950#D5C950

#D5C950 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.141 H 103.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D5C950
RGBrgb(213, 201, 80)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.6%, 62.4%, 16.5%)
CIE-LABlab(79.90, -10.33, 60.08)
CIE-LCHlch(79.90, 60.97, 99.75°)
OKLaboklab(82.32% -0.0332 0.1369)
OKLCHoklch(82.32% 0.141 103.7)
XYZxyz(49.7770, 56.5005, 15.8715)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C950 #505CD5
analogous
#D58650 #D5C950 #9FD550
triadic
#D5C950 #50D5C9 #C950D5
tetradic
#D5C950 #50D586 #505CD5 #D5509F
square
#D5C950 #50D586 #505CD5 #D5509F
split-complementary
#D5C950 #509FD5 #8650D5
monochromatic
#8A8021 #BBAE2D #D5C950 #E1D881 #EDE7B3

Accessibility & contrast

On white

1.71
#D5C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D5C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C950
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C950#FFFFFF#000000##000000
##D5C9501.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC342
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E4BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c950;
/* rgb */ color: rgb(213, 201, 80);
/* oklch */ color: oklch(82.3% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e5d986',
    500: '#d5c950',
    950: '#000000',
  },
}
SCSS
$custom: #d5c950;
$custom-light: #e5d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c950",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 54.586,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82316,
    "c": 0.14084,
    "h": 103.7
  },
  "luminance": 0.56499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C950

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

Preview Lab → · Contrast checker → · Palette generator →

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