#D7C541#D7C541

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

Color values

HEX#D7C541
RGBrgb(215, 197, 65)
HSLhsl(53, 65%, 55%)
HSVhsv(53, 70%, 84%)
CMYKcmyk(0%, 8.4%, 69.8%, 15.7%)
CIE-LABlab(78.90, -8.30, 65.17)
CIE-LCHlch(78.90, 65.69, 97.26°)
OKLaboklab(81.53% -0.0292 0.1452)
OKLCHoklch(81.53% 0.148 101.4)
XYZxyz(48.9469, 54.7634, 12.9922)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C541 #4153D7
analogous
#D77A41 #D7C541 #9ED741
triadic
#D7C541 #41D7C5 #C541D7
tetradic
#D7C541 #41D77A #4153D7 #D7419E
square
#D7C541 #41D77A #4153D7 #D7419E
split-complementary
#D7C541 #419ED7 #7A41D7
monochromatic
#82761B #B5A426 #D7C541 #E2D474 #ECE4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C541#FFFFFF#000000##000000
##D7C5411.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)
#D7BF2D
Deuteranopia (green-blind)
#DCC749
Tritanopia (blue-blind)
#E7B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c541;
/* rgb */ color: rgb(215, 197, 65);
/* oklch */ color: oklch(81.5% 0.148 101.4);
Tailwind
colors: {
  custom: {
    50: '#e7d67d',
    500: '#d7c541',
    950: '#000000',
  },
}
SCSS
$custom: #d7c541;
$custom-light: #e7d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c541",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 52.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.14807,
    "h": 101.4
  },
  "luminance": 0.54761
}

Semantic roles & 50–950 ramp

primary
#D7C541
secondary
#333D89
accent
#54E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C541

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

Preview Lab → · Contrast checker → · Palette generator →

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