#D7CC65#D7CC65

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

Color values

HEX#D7CC65
RGBrgb(215, 204, 101)
HSLhsl(54, 59%, 62%)
HSVhsv(54, 53%, 84%)
CMYKcmyk(0%, 5.1%, 53%, 15.7%)
CIE-LABlab(81.06, -9.49, 52.01)
CIE-LCHlch(81.06, 52.87, 100.35°)
OKLaboklab(83.34% -0.0287 0.1221)
OKLCHoklch(83.34% 0.125 103.2)
XYZxyz(51.9677, 58.5741, 20.8779)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC65 #6570D7
analogous
#D79365 #D7CC65 #A9D765
triadic
#D7CC65 #65D7CC #CC65D7
tetradic
#D7CC65 #65D793 #6570D7 #D765A9
square
#D7CC65 #65D793 #6570D7 #D765A9
split-complementary
#D7CC65 #65A9D7 #9365D7
monochromatic
#9A8F28 #CABC35 #D7CC65 #E4DC96 #F0ECC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CC65#FFFFFF#000000##000000
##D7CC651.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)
#DCC65B
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#E5C0B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc65;
/* rgb */ color: rgb(215, 204, 101);
/* oklch */ color: oklch(83.3% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#e6db94',
    500: '#d7cc65',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc65;
$custom-light: #e6db94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc65",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 101
  },
  "hsl": {
    "h": 54.211,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83342,
    "c": 0.1254,
    "h": 103.2
  },
  "luminance": 0.58572
}

Semantic roles & 50–950 ramp

primary
#D7CC65
secondary
#424B9E
accent
#2FC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CC65

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

Preview Lab → · Contrast checker → · Palette generator →

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