#D4C84E#D4C84E

#D4C84E is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.142 H 103.7°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D4C84E
RGBrgb(212, 200, 78)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.7%, 63.2%, 16.9%)
CIE-LABlab(79.53, -10.36, 60.51)
CIE-LCHlch(79.53, 61.40, 99.72°)
OKLaboklab(82% -0.0335 0.1375)
OKLCHoklch(82% 0.142 103.7)
XYZxyz(49.1827, 55.8575, 15.3971)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C84E #4E5AD4
analogous
#D4854E #D4C84E #9DD44E
triadic
#D4C84E #4ED4C8 #C84ED4
tetradic
#D4C84E #4ED485 #4E5AD4 #D44E9D
square
#D4C84E #4ED485 #4E5AD4 #D44E9D
split-complementary
#D4C84E #4E9DD4 #854ED4
monochromatic
#877E21 #B8AC2D #D4C84E #E0D77F #ECE7B0

Accessibility & contrast

On white

1.73
#D4C84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D4C84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C84E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C84E#FFFFFF#000000##000000
##D4C84E1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#E3BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c84e;
/* rgb */ color: rgb(212, 200, 78);
/* oklch */ color: oklch(82.0% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e4d885',
    500: '#d4c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d4c84e;
$custom-light: #e4d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c84e",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 54.627,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82,
    "c": 0.14153,
    "h": 103.7
  },
  "luminance": 0.55856
}

Semantic roles & 50–950 ramp

primary
#D4C84E
secondary
#39408D
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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