#CAF261#CAF261

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

Color values

HEX#CAF261
RGBrgb(202, 242, 97)
HSLhsl(77, 85%, 66%)
HSVhsv(77, 60%, 95%)
CMYKcmyk(16.5%, 0%, 59.9%, 5.1%)
CIE-LABlab(90.29, -33.38, 63.99)
CIE-LCHlch(90.29, 72.18, 117.55°)
OKLaboklab(90.48% -0.0957 0.1476)
OKLCHoklch(90.48% 0.176 123)
XYZxyz(58.2674, 76.9236, 23.0850)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF261 #8961F2
analogous
#F2D261 #CAF261 #82F261
triadic
#CAF261 #61CAF2 #F261CA
tetradic
#CAF261 #61F2D2 #8961F2 #F26182
square
#CAF261 #61F2D2 #8961F2 #F26182
split-complementary
#CAF261 #6182F2 #D261F2
monochromatic
#95C810 #B7ED28 #CAF261 #DDF79A #F0FBD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF261#FFFFFF#000000##000000
##CAF2611.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)
#FFE450
Deuteranopia (green-blind)
#FAE36B
Tritanopia (blue-blind)
#D3E7D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf261;
/* rgb */ color: rgb(202, 242, 97);
/* oklch */ color: oklch(90.5% 0.176 123.0);
Tailwind
colors: {
  custom: {
    50: '#ddf693',
    500: '#caf261',
    950: '#000000',
  },
}
SCSS
$custom: #caf261;
$custom-light: #ddf693;
$custom-dark: #000000;
JSON
{
  "hex": "#caf261",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 76.552,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9048,
    "c": 0.1759,
    "h": 123
  },
  "luminance": 0.76924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAF261

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

Preview Lab → · Contrast checker → · Palette generator →

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