#D4C94A#D4C94A

#D4C94A is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.145 H 104.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D4C94A
RGBrgb(212, 201, 74)
HSLhsl(55, 62%, 56%)
HSVhsv(55, 65%, 83%)
CMYKcmyk(0%, 5.2%, 65.1%, 16.9%)
CIE-LABlab(79.77, -11.11, 62.41)
CIE-LCHlch(79.77, 63.40, 100.10°)
OKLaboklab(82.18% -0.0361 0.1409)
OKLCHoklch(82.18% 0.145 104.4)
XYZxyz(49.2759, 56.2666, 14.7422)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C94A #4A55D4
analogous
#D4844A #D4C94A #9AD44A
triadic
#D4C94A #4AD4C9 #C94AD4
tetradic
#D4C94A #4AD484 #4A55D4 #D44A9A
square
#D4C94A #4AD484 #4A55D4 #D44A9A
split-complementary
#D4C94A #4A9AD4 #844AD4
monochromatic
#847C1F #B6AB2B #D4C94A #E0D87B #EBE7AD

Accessibility & contrast

On white

1.71
#D4C94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D4C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C94A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C94A#FFFFFF#000000##000000
##D4C94A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC239
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#E3BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4c94a;
/* rgb */ color: rgb(212, 201, 74);
/* oklch */ color: oklch(82.2% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4d983',
    500: '#d4c94a',
    950: '#000000',
  },
}
SCSS
$custom: #d4c94a;
$custom-light: #e4d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c94a",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 55.217,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82175,
    "c": 0.14547,
    "h": 104.4
  },
  "luminance": 0.56265
}

Semantic roles & 50–950 ramp

primary
#D4C94A
secondary
#373E8B
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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