#CAF260#CAF260

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

Color values

HEX#CAF260
RGBrgb(202, 242, 96)
HSLhsl(76, 85%, 66%)
HSVhsv(76, 60%, 95%)
CMYKcmyk(16.5%, 0%, 60.3%, 5.1%)
CIE-LABlab(90.28, -33.46, 64.40)
CIE-LCHlch(90.28, 72.57, 117.45°)
OKLaboklab(90.47% -0.096 0.1483)
OKLCHoklch(90.47% 0.177 122.9)
XYZxyz(58.2211, 76.9051, 22.8410)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF260 #8860F2
analogous
#F2D160 #CAF260 #81F260
triadic
#CAF260 #60CAF2 #F260CA
tetradic
#CAF260 #60F2D1 #8860F2 #F26081
square
#CAF260 #60F2D1 #8860F2 #F26081
split-complementary
#CAF260 #6081F2 #D160F2
monochromatic
#95C710 #B7ED27 #CAF260 #DDF799 #F0FBD1

Accessibility & contrast

On white

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

On black

16.38
#CAF260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF260
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF260#FFFFFF#000000##000000
##CAF2601.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44F
Deuteranopia (green-blind)
#FAE36A
Tritanopia (blue-blind)
#D3E7D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf260;
/* rgb */ color: rgb(202, 242, 96);
/* oklch */ color: oklch(90.5% 0.177 122.9);
Tailwind
colors: {
  custom: {
    50: '#ddf693',
    500: '#caf260',
    950: '#000000',
  },
}
SCSS
$custom: #caf260;
$custom-light: #ddf693;
$custom-dark: #000000;
JSON
{
  "hex": "#caf260",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 76.438,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9047,
    "c": 0.17669,
    "h": 122.9
  },
  "luminance": 0.76905
}

Semantic roles & 50–950 ramp

primary
#CAF260
secondary
#5A32C4
accent
#04E141
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF260

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

Preview Lab → · Contrast checker → · Palette generator →

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