#CCCE71#CCCE71

#CCCE71 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.116 H 109.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CCCE71
RGBrgb(204, 206, 113)
HSLhsl(61, 49%, 63%)
HSVhsv(61, 45%, 81%)
CMYKcmyk(1%, 0%, 45.1%, 19.2%)
CIE-LABlab(80.83, -13.89, 45.78)
CIE-LCHlch(80.83, 47.84, 106.87°)
OKLaboklab(82.99% -0.0394 0.1096)
OKLCHoklch(82.99% 0.116 109.8)
XYZxyz(49.9547, 58.1733, 24.2166)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE71 #7371CE
analogous
#CEA171 #CCCE71 #9ECE71
triadic
#CCCE71 #71CCCE #CE71CC
tetradic
#CCCE71 #71CEA1 #7371CE #CE719E
square
#CCCE71 #71CEA1 #7371CE #CE719E
split-complementary
#CCCE71 #719ECE #A171CE
monochromatic
#909232 #BCBE44 #CCCE71 #DCDE9E #EDEDCC

Accessibility & contrast

On white

1.66
#CCCE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CCCE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE71
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE71#FFFFFF#000000##000000
##CCCE711.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DCCA75
Tritanopia (blue-blind)
#D7C4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce71;
/* rgb */ color: rgb(204, 206, 113);
/* oklch */ color: oklch(83.0% 0.116 109.8);
Tailwind
colors: {
  custom: {
    50: '#dddc9c',
    500: '#ccce71',
    950: '#000000',
  },
}
SCSS
$custom: #ccce71;
$custom-light: #dddc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce71",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 113
  },
  "hsl": {
    "h": 61.29,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.11649,
    "h": 109.8
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#CCCE71
secondary
#4D4B98
accent
#2ABC2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCE71

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

Preview Lab → · Contrast checker → · Palette generator →

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