#CCF072#CCF072

#CCF072 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.4% C 0.158 H 122.8°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#CCF072
RGBrgb(204, 240, 114)
HSLhsl(77, 81%, 69%)
HSVhsv(77, 53%, 94%)
CMYKcmyk(15%, 0%, 52.5%, 5.9%)
CIE-LABlab(90.03, -30.27, 56.32)
CIE-LCHlch(90.03, 63.94, 118.26°)
OKLaboklab(90.36% -0.0857 0.1328)
OKLCHoklch(90.36% 0.158 122.8)
XYZxyz(59.0995, 76.3723, 27.5441)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF072 #9672F0
analogous
#F0D572 #CCF072 #8DF072
triadic
#CCF072 #72CCF0 #F072CC
tetradic
#CCF072 #72F0D5 #9672F0 #F0728D
square
#CCF072 #72F0D5 #9672F0 #F0728D
split-complementary
#CCF072 #728DF0 #D572F0
monochromatic
#9CD116 #B8EA3B #CCF072 #E0F6A9 #F4FCE1

Accessibility & contrast

On white

1.29
#CCF072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#CCF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF072
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF072#FFFFFF#000000##000000
##CCF0721.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#D4E6D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf072;
/* rgb */ color: rgb(204, 240, 114);
/* oklch */ color: oklch(90.4% 0.158 122.8);
Tailwind
colors: {
  custom: {
    50: '#def59e',
    500: '#ccf072',
    950: '#000000',
  },
}
SCSS
$custom: #ccf072;
$custom-light: #def59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf072",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 77.143,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9036,
    "c": 0.15804,
    "h": 122.8
  },
  "luminance": 0.76372
}

Semantic roles & 50–950 ramp

primary
#CCF072
secondary
#653DC9
accent
#08DD45
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF072

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

Preview Lab → · Contrast checker → · Palette generator →

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