#D4C741#D4C741

#D4C741 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.150 H 103.7°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D4C741
RGBrgb(212, 199, 65)
HSLhsl(55, 63%, 54%)
HSVhsv(55, 69%, 83%)
CMYKcmyk(0%, 6.1%, 69.3%, 16.9%)
CIE-LABlab(79.17, -10.59, 65.35)
CIE-LCHlch(79.17, 66.20, 99.20°)
OKLaboklab(81.68% -0.0355 0.1456)
OKLCHoklch(81.68% 0.15 103.7)
XYZxyz(48.5310, 55.2275, 13.1036)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C741 #414ED4
analogous
#D47E41 #D4C741 #98D441
triadic
#D4C741 #41D4C7 #C741D4
tetradic
#D4C741 #41D47E #414ED4 #D44198
square
#D4C741 #41D47E #414ED4 #D44198
split-complementary
#D4C741 #4198D4 #7E41D4
monochromatic
#7E751D #B0A428 #D4C741 #DFD673 #EBE4A5

Accessibility & contrast

On white

1.74
#D4C741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D4C741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C741
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C741#FFFFFF#000000##000000
##D4C7411.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02C
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c741;
/* rgb */ color: rgb(212, 199, 65);
/* oklch */ color: oklch(81.7% 0.150 103.7);
Tailwind
colors: {
  custom: {
    50: '#e5d77e',
    500: '#d4c741',
    950: '#000000',
  },
}
SCSS
$custom: #d4c741;
$custom-light: #e5d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c741",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 54.694,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81682,
    "c": 0.14992,
    "h": 103.7
  },
  "luminance": 0.55226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C741

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

Preview Lab → · Contrast checker → · Palette generator →

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