#CCE168#CCE168

#CCE168 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 87.0% C 0.148 H 117.8°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#CCE168
RGBrgb(204, 225, 104)
HSLhsl(70, 67%, 65%)
HSVhsv(70, 54%, 88%)
CMYKcmyk(9.3%, 0%, 53.8%, 11.8%)
CIE-LABlab(85.85, -24.06, 55.98)
CIE-LCHlch(85.85, 60.93, 113.26°)
OKLaboklab(86.97% -0.0691 0.1311)
OKLCHoklch(86.97% 0.148 117.8)
XYZxyz(54.3265, 67.6877, 23.2971)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE168 #7D68E1
analogous
#E1B968 #CCE168 #90E168
triadic
#CCE168 #68CCE1 #E168CC
tetradic
#CCE168 #68E1B9 #7D68E1 #E16890
square
#CCE168 #68E1B9 #7D68E1 #E16890
split-complementary
#CCE168 #6890E1 #B968E1
monochromatic
#94AC22 #BBD735 #CCE168 #DDEB9B #EEF5CE

Accessibility & contrast

On white

1.44
#CCE168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#CCE168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE168
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE168#FFFFFF#000000##000000
##CCE1681.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65C
Deuteranopia (green-blind)
#ECD76F
Tritanopia (blue-blind)
#D6D6C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce168;
/* rgb */ color: rgb(204, 225, 104);
/* oklch */ color: oklch(87.0% 0.148 117.8);
Tailwind
colors: {
  custom: {
    50: '#deea97',
    500: '#cce168',
    950: '#000000',
  },
}
SCSS
$custom: #cce168;
$custom-light: #deea97;
$custom-dark: #000000;
JSON
{
  "hex": "#cce168",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 70.413,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86969,
    "c": 0.14824,
    "h": 117.8
  },
  "luminance": 0.67687
}

Semantic roles & 50–950 ramp

primary
#CCE168
secondary
#523FAE
accent
#17CF37
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE168

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

Preview Lab → · Contrast checker → · Palette generator →

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