#D5C849#D5C849

#D5C849 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.145 H 103.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D5C849
RGBrgb(213, 200, 73)
HSLhsl(54, 63%, 56%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 6.1%, 65.7%, 16.5%)
CIE-LABlab(79.58, -10.24, 62.65)
CIE-LCHlch(79.58, 63.48, 99.28°)
OKLaboklab(82.04% -0.0338 0.1412)
OKLCHoklch(82.04% 0.145 103.5)
XYZxyz(49.2994, 55.9376, 14.5022)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C849 #4956D5
analogous
#D58249 #D5C849 #9CD549
triadic
#D5C849 #49D5C8 #C849D5
tetradic
#D5C849 #49D582 #4956D5 #D5499C
square
#D5C849 #49D582 #4956D5 #D5499C
split-complementary
#D5C849 #499CD5 #8249D5
monochromatic
#857B1F #B7AA2A #D5C849 #E0D77B #ECE6AC

Accessibility & contrast

On white

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

On black

12.19
#D5C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C849
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C849#FFFFFF#000000##000000
##D5C8491.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C238
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E4BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c849;
/* rgb */ color: rgb(213, 200, 73);
/* oklch */ color: oklch(82.0% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#e5d882',
    500: '#d5c849',
    950: '#000000',
  },
}
SCSS
$custom: #d5c849;
$custom-light: #e5d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c849",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 54.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.14522,
    "h": 103.5
  },
  "luminance": 0.55936
}

Semantic roles & 50–950 ramp

primary
#D5C849
secondary
#373F8C
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C849

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

Preview Lab → · Contrast checker → · Palette generator →

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