#CAFF40#CAFF40

#CAFF40 is a very light, highly saturated yellow-green. Relative luminance 0.844; OKLCH L 93.1% C 0.213 H 124.4°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#CAFF40
RGBrgb(202, 255, 64)
HSLhsl(77, 100%, 63%)
HSVhsv(77, 75%, 100%)
CMYKcmyk(20.8%, 0%, 74.9%, 0%)
CIE-LABlab(93.64, -41.21, 79.41)
CIE-LCHlch(93.64, 89.47, 117.43°)
OKLaboklab(93.12% -0.1201 0.1754)
OKLCHoklch(93.12% 0.213 124.4)
XYZxyz(61.0432, 84.4461, 17.9333)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFF40 #7540FF
analogous
#FFD440 #CAFF40 #6BFF40
triadic
#CAFF40 #40CAFF #FF40CA
tetradic
#CAFF40 #40FFD4 #7540FF #FF406B
square
#CAFF40 #40FFD4 #7540FF #FF406B
split-complementary
#CAFF40 #406BFF #D440FF
monochromatic
#8EC500 #B9FF03 #CAFF40 #DBFF7D #ECFFBA

Accessibility & contrast

On white

1.17
#CAFF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#CAFF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFF40
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFF40#FFFFFF#000000##000000
##CAFF401.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE0C
Deuteranopia (green-blind)
#FFEC53
Tritanopia (blue-blind)
#D4F2DB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #caff40;
/* rgb */ color: rgb(202, 255, 64);
/* oklch */ color: oklch(93.1% 0.213 124.4);
Tailwind
colors: {
  custom: {
    50: '#dfff83',
    500: '#caff40',
    950: '#000000',
  },
}
SCSS
$custom: #caff40;
$custom-light: #dfff83;
$custom-dark: #000000;
JSON
{
  "hex": "#caff40",
  "rgb": {
    "r": 202,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 76.649,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.93122,
    "c": 0.21258,
    "h": 124.4
  },
  "luminance": 0.84447
}

Semantic roles & 50–950 ramp

primary
#CAFF40
secondary
#4E22C1
accent
#00E640
background
#FEFFFC
surface
#FCFFF3
border
#D5D7CD
text
#16180C
muted
#84867F

Preview Lab

Preview with #CAFF40

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

Preview Lab → · Contrast checker → · Palette generator →

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