#D5C64F#D5C64F

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

Color values

HEX#D5C64F
RGBrgb(213, 198, 79)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 63%, 84%)
CMYKcmyk(0%, 7%, 62.9%, 16.5%)
CIE-LABlab(79.10, -8.86, 59.65)
CIE-LCHlch(79.10, 60.31, 98.45°)
OKLaboklab(81.68% -0.0292 0.1358)
OKLCHoklch(81.68% 0.139 102.1)
XYZxyz(49.0479, 55.1008, 15.4475)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C64F #4F5ED5
analogous
#D5834F #D5C64F #A1D54F
triadic
#D5C64F #4FD5C6 #C64FD5
tetradic
#D5C64F #4FD583 #4F5ED5 #D54FA1
square
#D5C64F #4FD583 #4F5ED5 #D54FA1
split-complementary
#D5C64F #4FA1D5 #834FD5
monochromatic
#897D21 #BAAA2C #D5C64F #E1D680 #EDE6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C64F#FFFFFF#000000##000000
##D5C64F1.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)
#D7C041
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c64f;
/* rgb */ color: rgb(213, 198, 79);
/* oklch */ color: oklch(81.7% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5d785',
    500: '#d5c64f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c64f;
$custom-light: #e5d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c64f",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 53.284,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.1389,
    "h": 102.1
  },
  "luminance": 0.55099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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