#CCF2A2#CCF2A2

#CCF2A2 is a very light, moderate yellow-green. Relative luminance 0.789; OKLCH L 91.5% C 0.111 H 129.0°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#CCF2A2
RGBrgb(204, 242, 162)
HSLhsl(89, 75%, 79%)
HSVhsv(89, 33%, 95%)
CMYKcmyk(15.7%, 0%, 33.1%, 5.1%)
CIE-LABlab(91.21, -25.77, 34.68)
CIE-LCHlch(91.21, 43.21, 126.61°)
OKLaboklab(91.52% -0.0701 0.0864)
OKLCHoklch(91.52% 0.111 129)
XYZxyz(63.1746, 78.9495, 46.0859)
Luminance0.7895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF2A2 #C8A2F2
analogous
#F2F0A2 #CCF2A2 #A4F2A2
triadic
#CCF2A2 #A2CCF2 #F2A2CC
tetradic
#CCF2A2 #A2F2F0 #C8A2F2 #F2A2A4
square
#CCF2A2 #A2F2F0 #C8A2F2 #F2A2A4
split-complementary
#CCF2A2 #A2A4F2 #F0A2F2
monochromatic
#91E337 #AFEA6C #CCF2A2 #E9FAD8 #F0FBE4

Accessibility & contrast

On white

1.25
#CCF2A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#CCF2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF2A2
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF2A2#FFFFFF#000000##000000
##CCF2A21.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE89D
Deuteranopia (green-blind)
#F4E5A6
Tritanopia (blue-blind)
#CFEBDD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf2a2;
/* rgb */ color: rgb(204, 242, 162);
/* oklch */ color: oklch(91.5% 0.111 129.0);
Tailwind
colors: {
  custom: {
    50: '#dcf6be',
    500: '#ccf2a2',
    950: '#000000',
  },
}
SCSS
$custom: #ccf2a2;
$custom-light: #dcf6be;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf2a2",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 162
  },
  "hsl": {
    "h": 88.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.91515,
    "c": 0.11126,
    "h": 129
  },
  "luminance": 0.7895
}

Semantic roles & 50–950 ramp

primary
#CCF2A2
secondary
#9968D0
accent
#0ED86E
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151712
muted
#848582

Preview Lab

Preview with #CCF2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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