#D7CC64#D7CC64

#D7CC64 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.126 H 103.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D7CC64
RGBrgb(215, 204, 100)
HSLhsl(54, 59%, 62%)
HSVhsv(54, 53%, 84%)
CMYKcmyk(0%, 5.1%, 53.5%, 15.7%)
CIE-LABlab(81.05, -9.58, 52.47)
CIE-LCHlch(81.05, 53.33, 100.34°)
OKLaboklab(83.33% -0.029 0.123)
OKLCHoklch(83.33% 0.126 103.3)
XYZxyz(51.9190, 58.5547, 20.6214)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC64 #646FD7
analogous
#D79364 #D7CC64 #A9D764
triadic
#D7CC64 #64D7CC #CC64D7
tetradic
#D7CC64 #64D793 #646FD7 #D764A9
square
#D7CC64 #64D793 #646FD7 #D764A9
split-complementary
#D7CC64 #64A9D7 #9364D7
monochromatic
#998E28 #CABB34 #D7CC64 #E4DC95 #F0ECC5

Accessibility & contrast

On white

1.65
#D7CC64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D7CC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC64
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC64#FFFFFF#000000##000000
##D7CC641.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65A
Deuteranopia (green-blind)
#DFCC69
Tritanopia (blue-blind)
#E5C0B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc64;
/* rgb */ color: rgb(215, 204, 100);
/* oklch */ color: oklch(83.3% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#e6db93',
    500: '#d7cc64',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc64;
$custom-light: #e6db93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc64",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 100
  },
  "hsl": {
    "h": 54.261,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8333,
    "c": 0.12635,
    "h": 103.3
  },
  "luminance": 0.58553
}

Semantic roles & 50–950 ramp

primary
#D7CC64
secondary
#424A9E
accent
#2FC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CC64

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

Preview Lab → · Contrast checker → · Palette generator →

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