#D4C94E#D4C94E

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

Color values

HEX#D4C94E
RGBrgb(212, 201, 78)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.2%, 63.2%, 16.9%)
CIE-LABlab(79.80, -10.87, 60.80)
CIE-LCHlch(79.80, 61.76, 100.14°)
OKLaboklab(82.21% -0.035 0.1381)
OKLCHoklch(82.21% 0.142 104.2)
XYZxyz(49.4150, 56.3222, 15.4746)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C94E #4E59D4
analogous
#D4864E #D4C94E #9CD44E
triadic
#D4C94E #4ED4C9 #C94ED4
tetradic
#D4C94E #4ED486 #4E59D4 #D44E9C
square
#D4C94E #4ED486 #4E59D4 #D44E9C
split-complementary
#D4C94E #4E9CD4 #864ED4
monochromatic
#877E21 #B8AD2D #D4C94E #E0D87F #ECE7B0

Accessibility & contrast

On white

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

On black

12.26
#D4C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C94E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C94E#FFFFFF#000000##000000
##D4C94E1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c94e;
/* rgb */ color: rgb(212, 201, 78);
/* oklch */ color: oklch(82.2% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4d985',
    500: '#d4c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d4c94e;
$custom-light: #e4d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c94e",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 55.075,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8221,
    "c": 0.14246,
    "h": 104.2
  },
  "luminance": 0.5632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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