#D7C441#D7C441

#D7C441 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.147 H 100.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D7C441
RGBrgb(215, 196, 65)
HSLhsl(52, 65%, 55%)
HSVhsv(52, 70%, 84%)
CMYKcmyk(0%, 8.8%, 69.8%, 15.7%)
CIE-LABlab(78.64, -7.79, 64.91)
CIE-LCHlch(78.64, 65.37, 96.84°)
OKLaboklab(81.32% -0.0278 0.1446)
OKLCHoklch(81.32% 0.147 100.9)
XYZxyz(48.7206, 54.3108, 12.9167)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C441 #4154D7
analogous
#D77941 #D7C441 #9FD741
triadic
#D7C441 #41D7C4 #C441D7
tetradic
#D7C441 #41D779 #4154D7 #D7419F
square
#D7C441 #41D779 #4154D7 #D7419F
split-complementary
#D7C441 #419FD7 #7941D7
monochromatic
#82751B #B5A326 #D7C441 #E2D474 #ECE3A6

Accessibility & contrast

On white

1.77
#D7C441 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#D7C441 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C441
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C441#FFFFFF#000000##000000
##D7C4411.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#E7B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c441;
/* rgb */ color: rgb(215, 196, 65);
/* oklch */ color: oklch(81.3% 0.147 100.9);
Tailwind
colors: {
  custom: {
    50: '#e7d57d',
    500: '#d7c441',
    950: '#000000',
  },
}
SCSS
$custom: #d7c441;
$custom-light: #e7d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c441",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 65
  },
  "hsl": {
    "h": 52.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81323,
    "c": 0.14724,
    "h": 100.9
  },
  "luminance": 0.54309
}

Semantic roles & 50–950 ramp

primary
#D7C441
secondary
#333E89
accent
#55E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C441

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

Preview Lab → · Contrast checker → · Palette generator →

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