#D4C84F#D4C84F

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

Color values

HEX#D4C84F
RGBrgb(212, 200, 79)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.7%, 62.7%, 16.9%)
CIE-LABlab(79.54, -10.30, 60.10)
CIE-LCHlch(79.54, 60.98, 99.72°)
OKLaboklab(82.01% -0.0332 0.1368)
OKLCHoklch(82.01% 0.141 103.7)
XYZxyz(49.2188, 55.8720, 15.5874)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C84F #4F5BD4
analogous
#D4854F #D4C84F #9ED44F
triadic
#D4C84F #4FD4C8 #C84FD4
tetradic
#D4C84F #4FD485 #4F5BD4 #D44F9E
square
#D4C84F #4FD485 #4F5BD4 #D44F9E
split-complementary
#D4C84F #4F9ED4 #854FD4
monochromatic
#877E21 #B9AC2D #D4C84F #E0D780 #ECE7B1

Accessibility & contrast

On white

1.72
#D4C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C84F#FFFFFF#000000##000000
##D4C84F1.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#E3BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c84f;
/* rgb */ color: rgb(212, 200, 79);
/* oklch */ color: oklch(82.0% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e4d886',
    500: '#d4c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d4c84f;
$custom-light: #e4d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c84f",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 54.586,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82009,
    "c": 0.14076,
    "h": 103.7
  },
  "luminance": 0.5587
}

Semantic roles & 50–950 ramp

primary
#D4C84F
secondary
#39418E
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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