#CCC66E#CCC66E

#CCC66E is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.111 H 105.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCC66E
RGBrgb(204, 198, 110)
HSLhsl(56, 48%, 62%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 2.9%, 46.1%, 20%)
CIE-LABlab(78.67, -10.12, 44.60)
CIE-LCHlch(78.67, 45.73, 102.78°)
OKLaboklab(81.26% -0.0289 0.1068)
OKLCHoklch(81.26% 0.111 105.1)
XYZxyz(47.9115, 54.3526, 22.7161)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC66E #6E74CC
analogous
#CC976E #CCC66E #A3CC6E
triadic
#CCC66E #6ECCC6 #C66ECC
tetradic
#CCC66E #6ECC97 #6E74CC #CC6EA3
square
#CCC66E #6ECC97 #6E74CC #CC6EA3
split-complementary
#CCC66E #6EA3CC #976ECC
monochromatic
#8E8832 #BBB342 #CCC66E #DCD89B #ECEAC9

Accessibility & contrast

On white

1.77
#CCC66E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCC66E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC66E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC66E#FFFFFF#000000##000000
##CCC66E1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C067
Deuteranopia (green-blind)
#D6C572
Tritanopia (blue-blind)
#D8BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc66e;
/* rgb */ color: rgb(204, 198, 110);
/* oklch */ color: oklch(81.3% 0.111 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd799',
    500: '#ccc66e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc66e;
$custom-light: #ddd799;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc66e",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 110
  },
  "hsl": {
    "h": 56.17,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81257,
    "c": 0.11062,
    "h": 105.1
  },
  "luminance": 0.54351
}

Semantic roles & 50–950 ramp

primary
#CCC66E
secondary
#4A4F94
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC66E

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

Preview Lab → · Contrast checker → · Palette generator →

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