#CCF381#CCF381

#CCF381 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.2% C 0.148 H 124.8°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#CCF381
RGBrgb(204, 243, 129)
HSLhsl(81, 83%, 73%)
HSVhsv(81, 47%, 95%)
CMYKcmyk(16%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.02, -30.20, 50.56)
CIE-LCHlch(91.02, 58.89, 120.85°)
OKLaboklab(91.21% -0.0842 0.1213)
OKLCHoklch(91.21% 0.148 124.8)
XYZxyz(60.9148, 78.5231, 32.7119)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF381 #A881F3
analogous
#F3E181 #CCF381 #93F381
triadic
#CCF381 #81CCF3 #F381CC
tetradic
#CCF381 #81F3E1 #A881F3 #F38193
square
#CCF381 #81F3E1 #A881F3 #F38193
split-complementary
#CCF381 #8193F3 #E181F3
monochromatic
#9DE416 #B5EE49 #CCF381 #E3F8B9 #F4FCE3

Accessibility & contrast

On white

1.26
#CCF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#CCF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF381
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF381#FFFFFF#000000##000000
##CCF3811.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE777
Deuteranopia (green-blind)
#F9E587
Tritanopia (blue-blind)
#D3EAD8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf381;
/* rgb */ color: rgb(204, 243, 129);
/* oklch */ color: oklch(91.2% 0.148 124.8);
Tailwind
colors: {
  custom: {
    50: '#ddf7a8',
    500: '#ccf381',
    950: '#000000',
  },
}
SCSS
$custom: #ccf381;
$custom-light: #ddf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf381",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 80.526,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91208,
    "c": 0.14769,
    "h": 124.8
  },
  "luminance": 0.78524
}

Semantic roles & 50–950 ramp

primary
#CCF381
secondary
#774ACF
accent
#06DF51
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF381

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

Preview Lab → · Contrast checker → · Palette generator →

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