#CCCE97#CCCE97

#CCCE97 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.073 H 109.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CCCE97
RGBrgb(204, 206, 151)
HSLhsl(62, 36%, 70%)
HSVhsv(62, 27%, 81%)
CMYKcmyk(1%, 0%, 26.7%, 19.2%)
CIE-LABlab(81.41, -9.47, 27.22)
CIE-LCHlch(81.41, 28.82, 109.18°)
OKLaboklab(83.64% -0.0244 0.0685)
OKLCHoklch(83.64% 0.073 109.6)
XYZxyz(52.5591, 59.2150, 37.9330)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE97 #9997CE
analogous
#CEB597 #CCCE97 #B0CE97
triadic
#CCCE97 #97CCCE #CE97CC
tetradic
#CCCE97 #97CEB5 #9997CE #CE97B0
square
#CCCE97 #97CEB5 #9997CE #CE97B0
split-complementary
#CCCE97 #97B0CE #B597CE
monochromatic
#9C9F4B #B8BA6D #CCCE97 #E0E2C1 #F5F5EA

Accessibility & contrast

On white

1.64
#CCCE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CCCE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE97
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE97#FFFFFF#000000##000000
##CCCE971.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C993
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#D4C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccce97;
/* rgb */ color: rgb(204, 206, 151);
/* oklch */ color: oklch(83.6% 0.073 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcdcb6',
    500: '#ccce97',
    950: '#000000',
  },
}
SCSS
$custom: #ccce97;
$custom-light: #dcdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce97",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 151
  },
  "hsl": {
    "h": 62.182,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.07267,
    "h": 109.6
  },
  "luminance": 0.59214
}

Semantic roles & 50–950 ramp

primary
#CCCE97
secondary
#6866A3
accent
#37AF3B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCE97

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

Preview Lab → · Contrast checker → · Palette generator →

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