#D5C64A#D5C64A

#D5C64A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.143 H 102.4°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D5C64A
RGBrgb(213, 198, 74)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 7%, 65.3%, 16.5%)
CIE-LABlab(79.06, -9.17, 61.70)
CIE-LCHlch(79.06, 62.38, 98.45°)
OKLaboklab(81.63% -0.0306 0.1394)
OKLCHoklch(81.63% 0.143 102.4)
XYZxyz(48.8727, 55.0307, 14.5249)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C64A #4A59D5
analogous
#D5814A #D5C64A #9FD54A
triadic
#D5C64A #4AD5C6 #C64AD5
tetradic
#D5C64A #4AD581 #4A59D5 #D54A9F
square
#D5C64A #4AD581 #4A59D5 #D54A9F
split-complementary
#D5C64A #4A9FD5 #814AD5
monochromatic
#867B1F #B7A82B #D5C64A #E1D67C #ECE5AD

Accessibility & contrast

On white

1.75
#D5C64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D5C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C64A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C64A#FFFFFF#000000##000000
##D5C64A1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#E5B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c64a;
/* rgb */ color: rgb(213, 198, 74);
/* oklch */ color: oklch(81.6% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e5d783',
    500: '#d5c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c64a;
$custom-light: #e5d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c64a",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 53.525,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.14271,
    "h": 102.4
  },
  "luminance": 0.55029
}

Semantic roles & 50–950 ramp

primary
#D5C64A
secondary
#37408C
accent
#54E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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