#CCF57B#CCF57B

#CCF57B is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.6% C 0.156 H 124.7°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#CCF57B
RGBrgb(204, 245, 123)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 50%, 96%)
CMYKcmyk(16.7%, 0%, 49.8%, 3.9%)
CIE-LABlab(91.49, -31.74, 53.94)
CIE-LCHlch(91.49, 62.58, 120.47°)
OKLaboklab(91.57% -0.089 0.1283)
OKLCHoklch(91.57% 0.156 124.7)
XYZxyz(61.1294, 79.5718, 30.8734)
Luminance0.7957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF57B #A47BF5
analogous
#F5E17B #CCF57B #8FF57B
triadic
#CCF57B #7BCCF5 #F57BCC
tetradic
#CCF57B #7BF5E1 #A47BF5 #F57B8F
square
#CCF57B #7BF5E1 #A47BF5 #F57B8F
split-complementary
#CCF57B #7B8FF5 #E17BF5
monochromatic
#9DE411 #B6F142 #CCF57B #E2F9B4 #F4FDE3

Accessibility & contrast

On white

1.24
#CCF57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#CCF57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF57B
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF57B#FFFFFF#000000##000000
##CCF57B1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#FBE682
Tritanopia (blue-blind)
#D3EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf57b;
/* rgb */ color: rgb(204, 245, 123);
/* oklch */ color: oklch(91.6% 0.156 124.7);
Tailwind
colors: {
  custom: {
    50: '#ddf8a4',
    500: '#ccf57b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf57b;
$custom-light: #ddf8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf57b",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 80.164,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91567,
    "c": 0.15618,
    "h": 124.7
  },
  "luminance": 0.79572
}

Semantic roles & 50–950 ramp

primary
#CCF57B
secondary
#7344D0
accent
#03E24E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF57B

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

Preview Lab → · Contrast checker → · Palette generator →

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