#CCF462#CCF462

#CCF462 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.1% C 0.177 H 122.9°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#CCF462
RGBrgb(204, 244, 98)
HSLhsl(76, 87%, 67%)
HSVhsv(76, 60%, 96%)
CMYKcmyk(16.4%, 0%, 59.8%, 4.3%)
CIE-LABlab(90.97, -33.46, 64.37)
CIE-LCHlch(90.97, 72.55, 117.47°)
OKLaboklab(91.07% -0.096 0.1484)
OKLCHoklch(91.07% 0.177 122.9)
XYZxyz(59.4576, 78.4204, 23.5572)
Luminance0.7842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF462 #8A62F4
analogous
#F4D362 #CCF462 #83F462
triadic
#CCF462 #62CCF4 #F462CC
tetradic
#CCF462 #62F4D3 #8A62F4 #F46283
square
#CCF462 #62F4D3 #8A62F4 #F46283
split-complementary
#CCF462 #6283F4 #D362F4
monochromatic
#99CD0E #B9F029 #CCF462 #DFF89B #F1FCD4

Accessibility & contrast

On white

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

On black

16.68
#CCF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF462
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF462#FFFFFF#000000##000000
##CCF4621.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#D5E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf462;
/* rgb */ color: rgb(204, 244, 98);
/* oklch */ color: oklch(91.1% 0.177 122.9);
Tailwind
colors: {
  custom: {
    50: '#def794',
    500: '#ccf462',
    950: '#000000',
  },
}
SCSS
$custom: #ccf462;
$custom-light: #def794;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf462",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 76.438,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91067,
    "c": 0.17677,
    "h": 122.9
  },
  "luminance": 0.78421
}

Semantic roles & 50–950 ramp

primary
#CCF462
secondary
#5B31C9
accent
#02E340
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF462

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

Preview Lab → · Contrast checker → · Palette generator →

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