#D4C94B#D4C94B

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

Color values

HEX#D4C94B
RGBrgb(212, 201, 75)
HSLhsl(55, 61%, 56%)
HSVhsv(55, 65%, 83%)
CMYKcmyk(0%, 5.2%, 64.6%, 16.9%)
CIE-LABlab(79.77, -11.05, 62.01)
CIE-LCHlch(79.77, 62.99, 100.11°)
OKLaboklab(82.18% -0.0358 0.1402)
OKLCHoklch(82.18% 0.145 104.3)
XYZxyz(49.3099, 56.2802, 14.9210)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C94B #4B56D4
analogous
#D4854B #D4C94B #9BD44B
triadic
#D4C94B #4BD4C9 #C94BD4
tetradic
#D4C94B #4BD485 #4B56D4 #D44B9B
square
#D4C94B #4BD485 #4B56D4 #D44B9B
split-complementary
#D4C94B #4B9BD4 #854BD4
monochromatic
#857D20 #B6AB2C #D4C94B #E0D87C #ECE7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C94B#FFFFFF#000000##000000
##D4C94B1.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)
#DAC23B
Deuteranopia (green-blind)
#DEC853
Tritanopia (blue-blind)
#E3BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4c94b;
/* rgb */ color: rgb(212, 201, 75);
/* oklch */ color: oklch(82.2% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e4d983',
    500: '#d4c94b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c94b;
$custom-light: #e4d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c94b",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 55.182,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82183,
    "c": 0.14473,
    "h": 104.3
  },
  "luminance": 0.56278
}

Semantic roles & 50–950 ramp

primary
#D4C94B
secondary
#383E8C
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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