#D5C44A#D5C44A

#D5C44A is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.141 H 101.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D5C44A
RGBrgb(213, 196, 74)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 65%, 84%)
CMYKcmyk(0%, 8%, 65.3%, 16.5%)
CIE-LABlab(78.53, -8.14, 61.15)
CIE-LCHlch(78.53, 61.69, 97.59°)
OKLaboklab(81.22% -0.0277 0.1382)
OKLCHoklch(81.22% 0.141 101.3)
XYZxyz(48.4185, 54.1224, 14.3735)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C44A #4A5BD5
analogous
#D57F4A #D5C44A #A1D54A
triadic
#D5C44A #4AD5C4 #C44AD5
tetradic
#D5C44A #4AD57F #4A5BD5 #D54AA1
square
#D5C44A #4AD57F #4A5BD5 #D54AA1
split-complementary
#D5C44A #4AA1D5 #7F4AD5
monochromatic
#86791F #B7A62B #D5C44A #E1D47C #ECE4AD

Accessibility & contrast

On white

1.78
#D5C44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D5C44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C44A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C44A#FFFFFF#000000##000000
##D5C44A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#E5B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c44a;
/* rgb */ color: rgb(213, 196, 74);
/* oklch */ color: oklch(81.2% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#e5d582',
    500: '#d5c44a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c44a;
$custom-light: #e5d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c44a",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 74
  },
  "hsl": {
    "h": 52.662,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.14097,
    "h": 101.3
  },
  "luminance": 0.5412
}

Semantic roles & 50–950 ramp

primary
#D5C44A
secondary
#37418C
accent
#56E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C44A

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

Preview Lab → · Contrast checker → · Palette generator →

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