#D5CC4F#D5CC4F

#D5CC4F is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.144 H 105.2°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D5CC4F
RGBrgb(213, 204, 79)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.2%, 62.9%, 16.5%)
CIE-LABlab(80.68, -11.91, 61.34)
CIE-LCHlch(80.68, 62.49, 100.99°)
OKLaboklab(82.94% -0.0378 0.1394)
OKLCHoklch(82.94% 0.144 105.2)
XYZxyz(50.4465, 57.8981, 15.9138)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC4F #4F58D5
analogous
#D5894F #D5CC4F #9BD54F
triadic
#D5CC4F #4FD5CC #CC4FD5
tetradic
#D5CC4F #4FD589 #4F58D5 #D54F9B
square
#D5CC4F #4FD589 #4F58D5 #D54F9B
split-complementary
#D5CC4F #4F9BD5 #894FD5
monochromatic
#898221 #BAB12C #D5CC4F #E1DA80 #EDE9B2

Accessibility & contrast

On white

1.67
#D5CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D5CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC4F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC4F#FFFFFF#000000##000000
##D5CC4F1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc4f;
/* rgb */ color: rgb(213, 204, 79);
/* oklch */ color: oklch(82.9% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e5db86',
    500: '#d5cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc4f;
$custom-light: #e5db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc4f",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 55.97,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82937,
    "c": 0.14443,
    "h": 105.2
  },
  "luminance": 0.57896
}

Semantic roles & 50–950 ramp

primary
#D5CC4F
secondary
#393F8F
accent
#4EE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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