#CCF07B#CCF07B

#CCF07B is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.5% C 0.150 H 123.5°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#CCF07B
RGBrgb(204, 240, 123)
HSLhsl(78, 80%, 71%)
HSVhsv(78, 49%, 94%)
CMYKcmyk(15%, 0%, 48.7%, 5.9%)
CIE-LABlab(90.13, -29.41, 52.30)
CIE-LCHlch(90.13, 60.00, 119.35°)
OKLaboklab(90.47% -0.0825 0.1247)
OKLCHoklch(90.47% 0.15 123.5)
XYZxyz(59.6372, 76.5873, 30.3760)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF07B #9F7BF0
analogous
#F0DA7B #CCF07B #91F07B
triadic
#CCF07B #7BCCF0 #F07BCC
tetradic
#CCF07B #7BF0DA #9F7BF0 #F07B91
square
#CCF07B #7BF0DA #9F7BF0 #F07B91
split-complementary
#CCF07B #7B91F0 #DA7BF0
monochromatic
#9DD819 #B7EA44 #CCF07B #E1F6B2 #F4FCE4

Accessibility & contrast

On white

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

On black

16.32
#CCF07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF07B
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF07B#FFFFFF#000000##000000
##CCF07B1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE471
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#D4E6D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf07b;
/* rgb */ color: rgb(204, 240, 123);
/* oklch */ color: oklch(90.5% 0.150 123.5);
Tailwind
colors: {
  custom: {
    50: '#ddf5a4',
    500: '#ccf07b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf07b;
$custom-light: #ddf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf07b",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 78.462,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90472,
    "c": 0.14955,
    "h": 123.5
  },
  "luminance": 0.76588
}

Semantic roles & 50–950 ramp

primary
#CCF07B
secondary
#6E45CA
accent
#0ADC4A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF07B

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

Preview Lab → · Contrast checker → · Palette generator →

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