#C7CC66#C7CC66

#C7CC66 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.126 H 111.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C7CC66
RGBrgb(199, 204, 102)
HSLhsl(63, 50%, 60%)
HSVhsv(63, 50%, 80%)
CMYKcmyk(2.5%, 0%, 50%, 20%)
CIE-LABlab(79.78, -15.92, 49.71)
CIE-LCHlch(79.78, 52.20, 107.76°)
OKLaboklab(82.01% -0.046 0.1174)
OKLCHoklch(82.01% 0.126 111.4)
XYZxyz(47.5453, 56.2881, 20.9279)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC66 #6B66CC
analogous
#CC9E66 #C7CC66 #94CC66
triadic
#C7CC66 #66C7CC #CC66C7
tetradic
#C7CC66 #66CC9E #6B66CC #CC6694
square
#C7CC66 #66CC9E #6B66CC #CC6694
split-complementary
#C7CC66 #6694CC #9E66CC
monochromatic
#858A2E #B2B83D #C7CC66 #D8DB94 #E9EBC2

Accessibility & contrast

On white

1.71
#C7CC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C7CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC66
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC66#FFFFFF#000000##000000
##C7CC661.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DAC76B
Tritanopia (blue-blind)
#D2C2B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cc66;
/* rgb */ color: rgb(199, 204, 102);
/* oklch */ color: oklch(82.0% 0.126 111.4);
Tailwind
colors: {
  custom: {
    50: '#dadb94',
    500: '#c7cc66',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc66;
$custom-light: #dadb94;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc66",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 62.941,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.82013,
    "c": 0.12612,
    "h": 111.4
  },
  "luminance": 0.56287
}

Semantic roles & 50–950 ramp

primary
#C7CC66
secondary
#494691
accent
#4EDA55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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