#CAF24F#CAF24F

#CAF24F is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.3% C 0.189 H 122.2°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#CAF24F
RGBrgb(202, 242, 79)
HSLhsl(75, 86%, 63%)
HSVhsv(75, 67%, 95%)
CMYKcmyk(16.5%, 0%, 67.4%, 5.1%)
CIE-LABlab(90.15, -34.61, 70.95)
CIE-LCHlch(90.15, 78.94, 116.00°)
OKLaboklab(90.33% -0.1008 0.1599)
OKLCHoklch(90.33% 0.189 122.2)
XYZxyz(57.5213, 76.6252, 19.1554)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF24F #774FF2
analogous
#F2C84F #CAF24F #78F24F
triadic
#CAF24F #4FCAF2 #F24FCA
tetradic
#CAF24F #4FF2C8 #774FF2 #F24F78
square
#CAF24F #4FF2C8 #774FF2 #F24F78
split-complementary
#CAF24F #4F78F2 #C84FF2
monochromatic
#8FB90E #B9EE16 #CAF24F #DBF688 #ECFAC1

Accessibility & contrast

On white

1.29
#CAF24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#CAF24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF24F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF24F#FFFFFF#000000##000000
##CAF24F1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE436
Deuteranopia (green-blind)
#FBE35C
Tritanopia (blue-blind)
#D4E6D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf24f;
/* rgb */ color: rgb(202, 242, 79);
/* oklch */ color: oklch(90.3% 0.189 122.2);
Tailwind
colors: {
  custom: {
    50: '#def689',
    500: '#caf24f',
    950: '#000000',
  },
}
SCSS
$custom: #caf24f;
$custom-light: #def689;
$custom-dark: #000000;
JSON
{
  "hex": "#caf24f",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 79
  },
  "hsl": {
    "h": 74.724,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90325,
    "c": 0.18899,
    "h": 122.2
  },
  "luminance": 0.76625
}

Semantic roles & 50–950 ramp

primary
#CAF24F
secondary
#4F2DB8
accent
#03E33A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAF24F

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

Preview Lab → · Contrast checker → · Palette generator →

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