#D5CC4E#D5CC4E

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

Color values

HEX#D5CC4E
RGBrgb(213, 204, 78)
HSLhsl(56, 62%, 57%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.2%, 63.4%, 16.5%)
CIE-LABlab(80.67, -11.97, 61.75)
CIE-LCHlch(80.67, 62.90, 100.97°)
OKLaboklab(82.93% -0.0381 0.1401)
OKLCHoklch(82.93% 0.145 105.2)
XYZxyz(50.4104, 57.8837, 15.7235)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC4E #4E57D5
analogous
#D5894E #D5CC4E #9BD54E
triadic
#D5CC4E #4ED5CC #CC4ED5
tetradic
#D5CC4E #4ED589 #4E57D5 #D54E9B
square
#D5CC4E #4ED589 #4E57D5 #D54E9B
split-complementary
#D5CC4E #4E9BD5 #894ED5
monochromatic
#888120 #BAB02C #D5CC4E #E1DA7F #ECE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC4E#FFFFFF#000000##000000
##D5CC4E1.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)
#DDC53E
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc4e;
/* rgb */ color: rgb(213, 204, 78);
/* oklch */ color: oklch(82.9% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#e5db85',
    500: '#d5cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc4e;
$custom-light: #e5db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc4e",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 56,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82928,
    "c": 0.1452,
    "h": 105.2
  },
  "luminance": 0.57882
}

Semantic roles & 50–950 ramp

primary
#D5CC4E
secondary
#393E8F
accent
#4EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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