#CCF25B#CCF25B

#CCF25B is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.180 H 122.1°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CCF25B
RGBrgb(204, 242, 91)
HSLhsl(75, 85%, 65%)
HSVhsv(75, 62%, 95%)
CMYKcmyk(15.7%, 0%, 62.4%, 5.1%)
CIE-LABlab(90.37, -33.06, 66.58)
CIE-LCHlch(90.37, 74.34, 116.40°)
OKLaboklab(90.56% -0.0955 0.1523)
OKLCHoklch(90.56% 0.18 122.1)
XYZxyz(58.5429, 77.0969, 21.6925)
Luminance0.7710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF25B #815BF2
analogous
#F2CC5B #CCF25B #81F25B
triadic
#CCF25B #5BCCF2 #F25BCC
tetradic
#CCF25B #5BF2CC #815BF2 #F25B81
square
#CCF25B #5BF2CC #815BF2 #F25B81
split-complementary
#CCF25B #5B81F2 #CC5BF2
monochromatic
#96C30F #BAEE22 #CCF25B #DEF694 #EFFBCC

Accessibility & contrast

On white

1.28
#CCF25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#CCF25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF25B
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF25B#FFFFFF#000000##000000
##CCF25B1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE448
Deuteranopia (green-blind)
#FBE366
Tritanopia (blue-blind)
#D6E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf25b;
/* rgb */ color: rgb(204, 242, 91);
/* oklch */ color: oklch(90.6% 0.180 122.1);
Tailwind
colors: {
  custom: {
    50: '#dff690',
    500: '#ccf25b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf25b;
$custom-light: #dff690;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf25b",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 91
  },
  "hsl": {
    "h": 75.099,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90561,
    "c": 0.17973,
    "h": 122.1
  },
  "luminance": 0.77097
}

Semantic roles & 50–950 ramp

primary
#CCF25B
secondary
#5531C1
accent
#04E23C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF25B

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

Preview Lab → · Contrast checker → · Palette generator →

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