#D5C64C#D5C64C

#D5C64C is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.141 H 102.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D5C64C
RGBrgb(213, 198, 76)
HSLhsl(53, 62%, 57%)
HSVhsv(53, 64%, 84%)
CMYKcmyk(0%, 7%, 64.3%, 16.5%)
CIE-LABlab(79.07, -9.05, 60.89)
CIE-LCHlch(79.07, 61.56, 98.45°)
OKLaboklab(81.65% -0.03 0.138)
OKLCHoklch(81.65% 0.141 102.3)
XYZxyz(48.9411, 55.0581, 14.8854)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C64C #4C5BD5
analogous
#D5824C #D5C64C #9FD54C
triadic
#D5C64C #4CD5C6 #C64CD5
tetradic
#D5C64C #4CD582 #4C5BD5 #D54C9F
square
#D5C64C #4CD582 #4C5BD5 #D54C9F
split-complementary
#D5C64C #4C9FD5 #824CD5
monochromatic
#877C20 #B9A92B #D5C64C #E1D67E #ECE6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C64C#FFFFFF#000000##000000
##D5C64C1.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)
#D7C03D
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c64c;
/* rgb */ color: rgb(213, 198, 76);
/* oklch */ color: oklch(81.7% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#e5d784',
    500: '#d5c64c',
    950: '#000000',
  },
}
SCSS
$custom: #d5c64c;
$custom-light: #e5d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c64c",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 53.431,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81651,
    "c": 0.14121,
    "h": 102.3
  },
  "luminance": 0.55056
}

Semantic roles & 50–950 ramp

primary
#D5C64C
secondary
#38418D
accent
#55E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C64C

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

Preview Lab → · Contrast checker → · Palette generator →

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