#CCFA7B#CCFA7B

#CCFA7B is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.7% C 0.163 H 125.9°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CCFA7B
RGBrgb(204, 250, 123)
HSLhsl(82, 93%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.4%, 0%, 50.8%, 2%)
CIE-LABlab(92.86, -34.03, 55.57)
CIE-LCHlch(92.86, 65.16, 121.49°)
OKLaboklab(92.67% -0.0954 0.1319)
OKLCHoklch(92.67% 0.163 125.9)
XYZxyz(62.6625, 82.6380, 31.3845)
Luminance0.8264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7B #A97BFA
analogous
#FAE87B #CCFA7B #8CFA7B
triadic
#CCFA7B #7BCCFA #FA7BCC
tetradic
#CCFA7B #7BFAE8 #A97BFA #FA7B8C
square
#CCFA7B #7BFAE8 #A97BFA #FA7B8C
split-complementary
#CCFA7B #7B8CFA #E87BFA
monochromatic
#9DF109 #B5F840 #CCFA7B #E3FCB6 #F4FEE2

Accessibility & contrast

On white

1.20
#CCFA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#CCFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA7B
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA7B#FFFFFF#000000##000000
##CCFA7B1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#D3F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccfa7b;
/* rgb */ color: rgb(204, 250, 123);
/* oklch */ color: oklch(92.7% 0.163 125.9);
Tailwind
colors: {
  custom: {
    50: '#defca4',
    500: '#ccfa7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7b;
$custom-light: #defca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7b",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 81.732,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92665,
    "c": 0.16281,
    "h": 125.9
  },
  "luminance": 0.82639
}

Semantic roles & 50–950 ramp

primary
#CCFA7B
secondary
#7842D7
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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