#D5C853#D5C853

#D5C853 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.138 H 103.0°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D5C853
RGBrgb(213, 200, 83)
HSLhsl(54, 61%, 58%)
HSVhsv(54, 61%, 84%)
CMYKcmyk(0%, 6.1%, 61%, 16.5%)
CIE-LABlab(79.66, -9.62, 58.54)
CIE-LCHlch(79.66, 59.32, 99.33°)
OKLaboklab(82.14% -0.0309 0.134)
OKLCHoklch(82.14% 0.138 103)
XYZxyz(49.6580, 56.0811, 16.3909)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C853 #5360D5
analogous
#D58753 #D5C853 #A1D553
triadic
#D5C853 #53D5C8 #C853D5
tetradic
#D5C853 #53D587 #5360D5 #D553A1
square
#D5C853 #53D587 #5360D5 #D553A1
split-complementary
#D5C853 #53A1D5 #8753D5
monochromatic
#8C8122 #BDAE2E #D5C853 #E1D884 #EDE7B5

Accessibility & contrast

On white

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

On black

12.22
#D5C853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C853
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C853#FFFFFF#000000##000000
##D5C8531.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c853;
/* rgb */ color: rgb(213, 200, 83);
/* oklch */ color: oklch(82.1% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e5d888',
    500: '#d5c853',
    950: '#000000',
  },
}
SCSS
$custom: #d5c853;
$custom-light: #e5d888;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c853",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 54,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82135,
    "c": 0.13752,
    "h": 103
  },
  "luminance": 0.56079
}

Semantic roles & 50–950 ramp

primary
#D5C853
secondary
#3B4392
accent
#54E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C853

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

Preview Lab → · Contrast checker → · Palette generator →

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