#CAF266#CAF266

#CAF266 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.5% C 0.172 H 123.2°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#CAF266
RGBrgb(202, 242, 102)
HSLhsl(77, 84%, 67%)
HSVhsv(77, 58%, 95%)
CMYKcmyk(16.5%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.33, -32.99, 61.93)
CIE-LCHlch(90.33, 70.17, 118.04°)
OKLaboklab(90.53% -0.0942 0.1437)
OKLCHoklch(90.53% 0.172 123.2)
XYZxyz(58.5079, 77.0199, 24.3518)
Luminance0.7702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF266 #8E66F2
analogous
#F2D466 #CAF266 #84F266
triadic
#CAF266 #66CAF2 #F266CA
tetradic
#CAF266 #66F2D4 #8E66F2 #F26684
square
#CAF266 #66F2D4 #8E66F2 #F26684
split-complementary
#CAF266 #6684F2 #D466F2
monochromatic
#97CC11 #B6ED2E #CAF266 #DEF79E #F1FCD7

Accessibility & contrast

On white

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

On black

16.40
#CAF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF266
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF266#FFFFFF#000000##000000
##CAF2661.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE457
Deuteranopia (green-blind)
#F9E36F
Tritanopia (blue-blind)
#D3E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf266;
/* rgb */ color: rgb(202, 242, 102);
/* oklch */ color: oklch(90.5% 0.172 123.2);
Tailwind
colors: {
  custom: {
    50: '#ddf696',
    500: '#caf266',
    950: '#000000',
  },
}
SCSS
$custom: #caf266;
$custom-light: #ddf696;
$custom-dark: #000000;
JSON
{
  "hex": "#caf266",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 77.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9053,
    "c": 0.17184,
    "h": 123.2
  },
  "luminance": 0.7702
}

Semantic roles & 50–950 ramp

primary
#CAF266
secondary
#5E34C9
accent
#05E144
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF266

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

Preview Lab → · Contrast checker → · Palette generator →

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