#D7CC49#D7CC49

#D7CC49 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.149 H 104.5°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D7CC49
RGBrgb(215, 204, 73)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 66%, 84%)
CMYKcmyk(0%, 5.1%, 66%, 15.7%)
CIE-LABlab(80.80, -11.43, 63.97)
CIE-LCHlch(80.80, 64.98, 100.13°)
OKLaboklab(83.06% -0.0372 0.144)
OKLCHoklch(83.06% 0.149 104.5)
XYZxyz(50.8218, 58.1157, 14.8424)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC49 #4954D7
analogous
#D78549 #D7CC49 #9BD749
triadic
#D7CC49 #49D7CC #CC49D7
tetradic
#D7CC49 #49D785 #4954D7 #D7499B
square
#D7CC49 #49D785 #4954D7 #D7499B
split-complementary
#D7CC49 #499BD7 #8549D7
monochromatic
#88801E #BAAF29 #D7CC49 #E2DA7B #EDE8AD

Accessibility & contrast

On white

1.66
#D7CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D7CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC49
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC49#FFFFFF#000000##000000
##D7CC491.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#E6BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc49;
/* rgb */ color: rgb(215, 204, 73);
/* oklch */ color: oklch(83.1% 0.149 104.5);
Tailwind
colors: {
  custom: {
    50: '#e7db82',
    500: '#d7cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc49;
$custom-light: #e7db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc49",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 55.352,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83058,
    "c": 0.1487,
    "h": 104.5
  },
  "luminance": 0.58114
}

Semantic roles & 50–950 ramp

primary
#D7CC49
secondary
#363D8E
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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