#D4C941#D4C941

#D4C941 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.152 H 104.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D4C941
RGBrgb(212, 201, 65)
HSLhsl(56, 63%, 54%)
HSVhsv(56, 69%, 83%)
CMYKcmyk(0%, 5.2%, 69.3%, 16.9%)
CIE-LABlab(79.70, -11.60, 65.87)
CIE-LCHlch(79.70, 66.89, 99.99°)
OKLaboklab(82.1% -0.0384 0.1468)
OKLCHoklch(82.1% 0.152 104.7)
XYZxyz(48.9941, 56.1539, 13.2580)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C941 #414CD4
analogous
#D48041 #D4C941 #96D441
triadic
#D4C941 #41D4C9 #C941D4
tetradic
#D4C941 #41D480 #414CD4 #D44196
square
#D4C941 #41D480 #414CD4 #D44196
split-complementary
#D4C941 #4196D4 #8041D4
monochromatic
#7E771D #B0A628 #D4C941 #DFD773 #EBE5A5

Accessibility & contrast

On white

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

On black

12.23
#D4C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C941
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C941#FFFFFF#000000##000000
##D4C9411.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#E4BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c941;
/* rgb */ color: rgb(212, 201, 65);
/* oklch */ color: oklch(82.1% 0.152 104.7);
Tailwind
colors: {
  custom: {
    50: '#e5d97e',
    500: '#d4c941',
    950: '#000000',
  },
}
SCSS
$custom: #d4c941;
$custom-light: #e5d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c941",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 55.51,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82103,
    "c": 0.15169,
    "h": 104.7
  },
  "luminance": 0.56152
}

Semantic roles & 50–950 ramp

primary
#D4C941
secondary
#343A85
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C941

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

Preview Lab → · Contrast checker → · Palette generator →

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