#CCF38F#CCF38F

#CCF38F is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.4% C 0.133 H 126.3°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#CCF38F
RGBrgb(204, 243, 143)
HSLhsl(83, 81%, 76%)
HSVhsv(83, 41%, 95%)
CMYKcmyk(16%, 0%, 41.2%, 4.7%)
CIE-LABlab(91.20, -28.64, 44.07)
CIE-LCHlch(91.20, 52.56, 123.02°)
OKLaboklab(91.41% -0.079 0.1075)
OKLCHoklch(91.41% 0.133 126.3)
XYZxyz(61.9099, 78.9212, 37.9529)
Luminance0.7892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF38F #B68FF3
analogous
#F3E88F #CCF38F #9AF38F
triadic
#CCF38F #8FCCF3 #F38FCC
tetradic
#CCF38F #8FF3E8 #B68FF3 #F38F9A
square
#CCF38F #8FF3E8 #B68FF3 #F38F9A
split-complementary
#CCF38F #8F9AF3 #E88FF3
monochromatic
#9AE720 #B3ED58 #CCF38F #E5F9C6 #F2FCE3

Accessibility & contrast

On white

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

On black

16.78
#CCF38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF38F
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF38F#FFFFFF#000000##000000
##CCF38F1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE787
Deuteranopia (green-blind)
#F7E594
Tritanopia (blue-blind)
#D1EBDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf38f;
/* rgb */ color: rgb(204, 243, 143);
/* oklch */ color: oklch(91.4% 0.133 126.3);
Tailwind
colors: {
  custom: {
    50: '#ddf7b1',
    500: '#ccf38f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf38f;
$custom-light: #ddf7b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf38f",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 143
  },
  "hsl": {
    "h": 83.4,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91412,
    "c": 0.13338,
    "h": 126.3
  },
  "luminance": 0.78922
}

Semantic roles & 50–950 ramp

primary
#CCF38F
secondary
#8656D0
accent
#09DD5B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF38F

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

Preview Lab → · Contrast checker → · Palette generator →

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