#D4C641#D4C641

#D4C641 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.149 H 103.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D4C641
RGBrgb(212, 198, 65)
HSLhsl(54, 63%, 54%)
HSVhsv(54, 69%, 83%)
CMYKcmyk(0%, 6.6%, 69.3%, 16.9%)
CIE-LABlab(78.91, -10.08, 65.08)
CIE-LCHlch(78.91, 65.86, 98.81°)
OKLaboklab(81.47% -0.0341 0.1451)
OKLCHoklch(81.47% 0.149 103.2)
XYZxyz(48.3016, 54.7688, 13.0272)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C641 #414FD4
analogous
#D47D41 #D4C641 #98D441
triadic
#D4C641 #41D4C6 #C641D4
tetradic
#D4C641 #41D47D #414FD4 #D44198
square
#D4C641 #41D47D #414FD4 #D44198
split-complementary
#D4C641 #4198D4 #7D41D4
monochromatic
#7E751D #B0A328 #D4C641 #DFD573 #EBE4A5

Accessibility & contrast

On white

1.76
#D4C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D4C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C641
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C641#FFFFFF#000000##000000
##D4C6411.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#E4B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c641;
/* rgb */ color: rgb(212, 198, 65);
/* oklch */ color: oklch(81.5% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d77d',
    500: '#d4c641',
    950: '#000000',
  },
}
SCSS
$custom: #d4c641;
$custom-light: #e5d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c641",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 54.286,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.14904,
    "h": 103.2
  },
  "luminance": 0.54767
}

Semantic roles & 50–950 ramp

primary
#D4C641
secondary
#343B85
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C641

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

Preview Lab → · Contrast checker → · Palette generator →

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