#D5C049#D5C049

#D5C049 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.138 H 99.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D5C049
RGBrgb(213, 192, 73)
HSLhsl(51, 63%, 56%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 9.9%, 65.7%, 16.5%)
CIE-LABlab(77.48, -6.15, 60.46)
CIE-LCHlch(77.48, 60.77, 95.81°)
OKLaboklab(80.38% -0.0221 0.1366)
OKLCHoklch(80.38% 0.138 99.2)
XYZxyz(47.4949, 52.3286, 13.9007)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C049 #495ED5
analogous
#D57A49 #D5C049 #A4D549
triadic
#D5C049 #49D5C0 #C049D5
tetradic
#D5C049 #49D57A #495ED5 #D549A4
square
#D5C049 #49D57A #495ED5 #D549A4
split-complementary
#D5C049 #49A4D5 #7A49D5
monochromatic
#85761F #B7A22A #D5C049 #E0D17B #ECE2AC

Accessibility & contrast

On white

1.83
#D5C049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#D5C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C049
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C049#FFFFFF#000000##000000
##D5C0491.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D7C350
Tritanopia (blue-blind)
#E5B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5c049;
/* rgb */ color: rgb(213, 192, 73);
/* oklch */ color: oklch(80.4% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#e5d281',
    500: '#d5c049',
    950: '#000000',
  },
}
SCSS
$custom: #d5c049;
$custom-light: #e5d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c049",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 51,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.13839,
    "h": 99.2
  },
  "luminance": 0.52326
}

Semantic roles & 50–950 ramp

primary
#D5C049
secondary
#37438C
accent
#5BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C049

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

Preview Lab → · Contrast checker → · Palette generator →

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