#D5C64E#D5C64E

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

Color values

HEX#D5C64E
RGBrgb(213, 198, 78)
HSLhsl(53, 62%, 57%)
HSVhsv(53, 63%, 84%)
CMYKcmyk(0%, 7%, 63.4%, 16.5%)
CIE-LABlab(79.09, -8.92, 60.07)
CIE-LCHlch(79.09, 60.73, 98.45°)
OKLaboklab(81.67% -0.0295 0.1365)
OKLCHoklch(81.67% 0.14 102.2)
XYZxyz(49.0117, 55.0863, 15.2573)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C64E #4E5DD5
analogous
#D5824E #D5C64E #A1D54E
triadic
#D5C64E #4ED5C6 #C64ED5
tetradic
#D5C64E #4ED582 #4E5DD5 #D54EA1
square
#D5C64E #4ED582 #4E5DD5 #D54EA1
split-complementary
#D5C64E #4EA1D5 #824ED5
monochromatic
#887D20 #BAAA2C #D5C64E #E1D67F #ECE6B1

Accessibility & contrast

On white

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

On black

12.02
#D5C64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C64E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C64E#FFFFFF#000000##000000
##D5C64E1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c64e;
/* rgb */ color: rgb(213, 198, 78);
/* oklch */ color: oklch(81.7% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#e5d785',
    500: '#d5c64e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c64e;
$custom-light: #e5d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c64e",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 53.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81669,
    "c": 0.13969,
    "h": 102.2
  },
  "luminance": 0.55084
}

Semantic roles & 50–950 ramp

primary
#D5C64E
secondary
#39428F
accent
#55E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C64E

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

Preview Lab → · Contrast checker → · Palette generator →

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