#D7CC46#D7CC46

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

Color values

HEX#D7CC46
RGBrgb(215, 204, 70)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 5.1%, 67.4%, 15.7%)
CIE-LABlab(80.78, -11.59, 65.13)
CIE-LCHlch(80.78, 66.15, 100.09°)
OKLaboklab(83.03% -0.038 0.1459)
OKLCHoklch(83.03% 0.151 104.6)
XYZxyz(50.7247, 58.0769, 14.3312)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC46 #4651D7
analogous
#D78346 #D7CC46 #99D746
triadic
#D7CC46 #46D7CC #CC46D7
tetradic
#D7CC46 #46D783 #4651D7 #D74699
square
#D7CC46 #46D783 #4651D7 #D74699
split-complementary
#D7CC46 #4699D7 #8346D7
monochromatic
#867E1D #B8AD28 #D7CC46 #E2DA78 #EDE8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CC46#FFFFFF#000000##000000
##D7CC461.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)
#DDC533
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#E7BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cc46;
/* rgb */ color: rgb(215, 204, 70);
/* oklch */ color: oklch(83.0% 0.151 104.6);
Tailwind
colors: {
  custom: {
    50: '#e7db81',
    500: '#d7cc46',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc46;
$custom-light: #e7db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc46",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 55.448,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83034,
    "c": 0.1508,
    "h": 104.6
  },
  "luminance": 0.58075
}

Semantic roles & 50–950 ramp

primary
#D7CC46
secondary
#353C8C
accent
#4DE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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