#D5C850#D5C850

#D5C850 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.140 H 103.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D5C850
RGBrgb(213, 200, 80)
HSLhsl(54, 61%, 57%)
HSVhsv(54, 62%, 84%)
CMYKcmyk(0%, 6.1%, 62.4%, 16.5%)
CIE-LABlab(79.63, -9.82, 59.80)
CIE-LCHlch(79.63, 60.60, 99.32°)
OKLaboklab(82.11% -0.0318 0.1363)
OKLCHoklch(82.11% 0.14 103.1)
XYZxyz(49.5447, 56.0358, 15.7941)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C850 #505DD5
analogous
#D58550 #D5C850 #A0D550
triadic
#D5C850 #50D5C8 #C850D5
tetradic
#D5C850 #50D585 #505DD5 #D550A0
square
#D5C850 #50D585 #505DD5 #D550A0
split-complementary
#D5C850 #50A0D5 #8550D5
monochromatic
#8A7F21 #BBAD2D #D5C850 #E1D881 #EDE7B3

Accessibility & contrast

On white

1.72
#D5C850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D5C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C850
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C850#FFFFFF#000000##000000
##D5C8501.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c850;
/* rgb */ color: rgb(213, 200, 80);
/* oklch */ color: oklch(82.1% 0.140 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5d886',
    500: '#d5c850',
    950: '#000000',
  },
}
SCSS
$custom: #d5c850;
$custom-light: #e5d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c850",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 54.135,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82106,
    "c": 0.13992,
    "h": 103.1
  },
  "luminance": 0.56034
}

Semantic roles & 50–950 ramp

primary
#D5C850
secondary
#394290
accent
#53E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5C850

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

Preview Lab → · Contrast checker → · Palette generator →

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