#D4C341#D4C341

#D4C341 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.146 H 101.7°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D4C341
RGBrgb(212, 195, 65)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 69%, 83%)
CMYKcmyk(0%, 8%, 69.3%, 16.9%)
CIE-LABlab(78.12, -8.55, 64.29)
CIE-LCHlch(78.12, 64.86, 97.58°)
OKLaboklab(80.84% -0.0298 0.1434)
OKLCHoklch(80.84% 0.146 101.7)
XYZxyz(47.6227, 53.4110, 12.8009)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C341 #4152D4
analogous
#D47A41 #D4C341 #9CD441
triadic
#D4C341 #41D4C3 #C341D4
tetradic
#D4C341 #41D47A #4152D4 #D4419C
square
#D4C341 #41D47A #4152D4 #D4419C
split-complementary
#D4C341 #419CD4 #7A41D4
monochromatic
#7E731D #B0A028 #D4C341 #DFD373 #EBE3A5

Accessibility & contrast

On white

1.80
#D4C341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D4C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C341
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C341#FFFFFF#000000##000000
##D4C3411.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#DAC449
Tritanopia (blue-blind)
#E4B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c341;
/* rgb */ color: rgb(212, 195, 65);
/* oklch */ color: oklch(80.8% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5d47d',
    500: '#d4c341',
    950: '#000000',
  },
}
SCSS
$custom: #d4c341;
$custom-light: #e5d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c341",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 53.061,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80844,
    "c": 0.14647,
    "h": 101.7
  },
  "luminance": 0.53409
}

Semantic roles & 50–950 ramp

primary
#D4C341
secondary
#343D85
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C341

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

Preview Lab → · Contrast checker → · Palette generator →

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