#D5C949#D5C949

#D5C949 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.146 H 103.9°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D5C949
RGBrgb(213, 201, 73)
HSLhsl(55, 63%, 56%)
HSVhsv(55, 66%, 84%)
CMYKcmyk(0%, 5.6%, 65.7%, 16.5%)
CIE-LABlab(79.84, -10.75, 62.93)
CIE-LCHlch(79.84, 63.84, 99.69°)
OKLaboklab(82.25% -0.0352 0.1418)
OKLCHoklch(82.25% 0.146 103.9)
XYZxyz(49.5318, 56.4024, 14.5797)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C949 #4955D5
analogous
#D58349 #D5C949 #9BD549
triadic
#D5C949 #49D5C9 #C949D5
tetradic
#D5C949 #49D583 #4955D5 #D5499B
square
#D5C949 #49D583 #4955D5 #D5499B
split-complementary
#D5C949 #499BD5 #8349D5
monochromatic
#857C1F #B7AB2A #D5C949 #E0D87B #ECE7AC

Accessibility & contrast

On white

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

On black

12.28
#D5C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C949
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C949#FFFFFF#000000##000000
##D5C9491.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c949;
/* rgb */ color: rgb(213, 201, 73);
/* oklch */ color: oklch(82.3% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d982',
    500: '#d5c949',
    950: '#000000',
  },
}
SCSS
$custom: #d5c949;
$custom-light: #e5d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c949",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 54.857,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82254,
    "c": 0.14612,
    "h": 103.9
  },
  "luminance": 0.564
}

Semantic roles & 50–950 ramp

primary
#D5C949
secondary
#373E8C
accent
#50E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C949

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

Preview Lab → · Contrast checker → · Palette generator →

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