#CCCE98#CCCE98

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

Color values

HEX#CCCE98
RGBrgb(204, 206, 152)
HSLhsl(62, 36%, 70%)
HSVhsv(62, 26%, 81%)
CMYKcmyk(1%, 0%, 26.2%, 19.2%)
CIE-LABlab(81.43, -9.33, 26.72)
CIE-LCHlch(81.43, 28.30, 109.26°)
OKLaboklab(83.66% -0.024 0.0673)
OKLCHoklch(83.66% 0.071 109.6)
XYZxyz(52.6406, 59.2476, 38.3625)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE98 #9A98CE
analogous
#CEB598 #CCCE98 #B1CE98
triadic
#CCCE98 #98CCCE #CE98CC
tetradic
#CCCE98 #98CEB5 #9A98CE #CE98B1
square
#CCCE98 #98CEB5 #9A98CE #CE98B1
split-complementary
#CCCE98 #98B1CE #B598CE
monochromatic
#9DA04C #B7BA6F #CCCE98 #E1E2C1 #F5F5EA

Accessibility & contrast

On white

1.63
#CCCE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CCCE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE98
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE98#FFFFFF#000000##000000
##CCCE981.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C994
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#D3C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccce98;
/* rgb */ color: rgb(204, 206, 152);
/* oklch */ color: oklch(83.7% 0.071 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcdcb6',
    500: '#ccce98',
    950: '#000000',
  },
}
SCSS
$custom: #ccce98;
$custom-light: #dcdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce98",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 152
  },
  "hsl": {
    "h": 62.222,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.07142,
    "h": 109.6
  },
  "luminance": 0.59247
}

Semantic roles & 50–950 ramp

primary
#CCCE98
secondary
#6967A3
accent
#37AE3C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCE98

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

Preview Lab → · Contrast checker → · Palette generator →

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