#D5C64B#D5C64B

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

Color values

HEX#D5C64B
RGBrgb(213, 198, 75)
HSLhsl(53, 62%, 56%)
HSVhsv(53, 65%, 84%)
CMYKcmyk(0%, 7%, 64.8%, 16.5%)
CIE-LABlab(79.07, -9.11, 61.30)
CIE-LCHlch(79.07, 61.97, 98.45°)
OKLaboklab(81.64% -0.0303 0.1387)
OKLCHoklch(81.64% 0.142 102.3)
XYZxyz(48.9066, 55.0443, 14.7037)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C64B #4B5AD5
analogous
#D5814B #D5C64B #9FD54B
triadic
#D5C64B #4BD5C6 #C64BD5
tetradic
#D5C64B #4BD581 #4B5AD5 #D54B9F
square
#D5C64B #4BD581 #4B5AD5 #D54B9F
split-complementary
#D5C64B #4B9FD5 #814BD5
monochromatic
#867B1F #B8A92B #D5C64B #E1D67D #ECE5AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C64B#FFFFFF#000000##000000
##D5C64B1.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)
#D7C03B
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c64b;
/* rgb */ color: rgb(213, 198, 75);
/* oklch */ color: oklch(81.6% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#e5d783',
    500: '#d5c64b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c64b;
$custom-light: #e5d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c64b",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 53.478,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81642,
    "c": 0.14197,
    "h": 102.3
  },
  "luminance": 0.55042
}

Semantic roles & 50–950 ramp

primary
#D5C64B
secondary
#37418D
accent
#54E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C64B

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

Preview Lab → · Contrast checker → · Palette generator →

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