#D7CC61#D7CC61

#D7CC61 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.129 H 103.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D7CC61
RGBrgb(215, 204, 97)
HSLhsl(54, 60%, 61%)
HSVhsv(54, 55%, 84%)
CMYKcmyk(0%, 5.1%, 54.9%, 15.7%)
CIE-LABlab(81.01, -9.81, 53.82)
CIE-LCHlch(81.01, 54.71, 100.33°)
OKLaboklab(83.3% -0.03 0.1256)
OKLCHoklch(83.3% 0.129 103.4)
XYZxyz(51.7765, 58.4976, 19.8707)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC61 #616CD7
analogous
#D79161 #D7CC61 #A7D761
triadic
#D7CC61 #61D7CC #CC61D7
tetradic
#D7CC61 #61D791 #616CD7 #D761A7
square
#D7CC61 #61D791 #616CD7 #D761A7
split-complementary
#D7CC61 #61A7D7 #9161D7
monochromatic
#978D26 #C8BA33 #D7CC61 #E3DC92 #F0ECC3

Accessibility & contrast

On white

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

On black

12.70
#D7CC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC61
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC61#FFFFFF#000000##000000
##D7CC611.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC656
Deuteranopia (green-blind)
#E0CC66
Tritanopia (blue-blind)
#E5C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc61;
/* rgb */ color: rgb(215, 204, 97);
/* oklch */ color: oklch(83.3% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6db91',
    500: '#d7cc61',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc61;
$custom-light: #e6db91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc61",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 97
  },
  "hsl": {
    "h": 54.407,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83295,
    "c": 0.12912,
    "h": 103.4
  },
  "luminance": 0.58496
}

Semantic roles & 50–950 ramp

primary
#D7CC61
secondary
#40499C
accent
#2EC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CC61

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

Preview Lab → · Contrast checker → · Palette generator →

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