#D5CC4A#D5CC4A

#D5CC4A is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.148 H 105.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D5CC4A
RGBrgb(213, 204, 74)
HSLhsl(56, 62%, 56%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.2%, 65.3%, 16.5%)
CIE-LABlab(80.64, -12.21, 63.35)
CIE-LCHlch(80.64, 64.52, 100.91°)
OKLaboklab(82.89% -0.0392 0.1429)
OKLCHoklch(82.89% 0.148 105.4)
XYZxyz(50.2714, 57.8281, 14.9911)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC4A #4A53D5
analogous
#D5874A #D5CC4A #99D54A
triadic
#D5CC4A #4AD5CC #CC4AD5
tetradic
#D5CC4A #4AD587 #4A53D5 #D54A99
square
#D5CC4A #4AD587 #4A53D5 #D54A99
split-complementary
#D5CC4A #4A99D5 #874AD5
monochromatic
#867F1F #B7AE2B #D5CC4A #E1DA7C #ECE8AD

Accessibility & contrast

On white

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

On black

12.57
#D5CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC4A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC4A#FFFFFF#000000##000000
##D5CC4A1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC539
Deuteranopia (green-blind)
#E0CB52
Tritanopia (blue-blind)
#E4BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc4a;
/* rgb */ color: rgb(213, 204, 74);
/* oklch */ color: oklch(82.9% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5db83',
    500: '#d5cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc4a;
$custom-light: #e5db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc4a",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 56.115,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82893,
    "c": 0.14816,
    "h": 105.4
  },
  "luminance": 0.57826
}

Semantic roles & 50–950 ramp

primary
#D5CC4A
secondary
#373D8C
accent
#4DE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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