#D7CC44#D7CC44

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

Color values

HEX#D7CC44
RGBrgb(215, 204, 68)
HSLhsl(56, 65%, 55%)
HSVhsv(56, 68%, 84%)
CMYKcmyk(0%, 5.1%, 68.4%, 15.7%)
CIE-LABlab(80.77, -11.70, 65.89)
CIE-LCHlch(80.77, 66.92, 100.07°)
OKLaboklab(83.02% -0.0385 0.1472)
OKLCHoklch(83.02% 0.152 104.7)
XYZxyz(50.6626, 58.0521, 14.0042)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC44 #444FD7
analogous
#D78244 #D7CC44 #99D744
triadic
#D7CC44 #44D7CC #CC44D7
tetradic
#D7CC44 #44D782 #444FD7 #D74499
square
#D7CC44 #44D782 #444FD7 #D74499
split-complementary
#D7CC44 #4499D7 #8244D7
monochromatic
#847D1C #B7AC27 #D7CC44 #E2DA76 #EDE7A9

Accessibility & contrast

On white

1.67
#D7CC44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D7CC44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC44
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC44#FFFFFF#000000##000000
##D7CC441.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC530
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#E7BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cc44;
/* rgb */ color: rgb(215, 204, 68);
/* oklch */ color: oklch(83.0% 0.152 104.7);
Tailwind
colors: {
  custom: {
    50: '#e7db80',
    500: '#d7cc44',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc44;
$custom-light: #e7db80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc44",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 68
  },
  "hsl": {
    "h": 55.51,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83019,
    "c": 0.15215,
    "h": 104.7
  },
  "luminance": 0.5805
}

Semantic roles & 50–950 ramp

primary
#D7CC44
secondary
#343B8B
accent
#4DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CC44

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

Preview Lab → · Contrast checker → · Palette generator →

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