#CAF166#CAF166

#CAF166 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.3% C 0.171 H 123.0°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#CAF166
RGBrgb(202, 241, 102)
HSLhsl(77, 83%, 67%)
HSVhsv(77, 58%, 95%)
CMYKcmyk(16.2%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.06, -32.53, 61.62)
CIE-LCHlch(90.06, 69.68, 117.83°)
OKLaboklab(90.31% -0.0929 0.1431)
OKLCHoklch(90.31% 0.171 123)
XYZxyz(58.2111, 76.4262, 24.2528)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF166 #8D66F1
analogous
#F1D366 #CAF166 #84F166
triadic
#CAF166 #66CAF1 #F166CA
tetradic
#CAF166 #66F1D3 #8D66F1 #F16684
square
#CAF166 #66F1D3 #8D66F1 #F16684
split-complementary
#CAF166 #6684F1 #D366F1
monochromatic
#97CA12 #B7EC2E #CAF166 #DDF69E #F1FBD6

Accessibility & contrast

On white

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

On black

16.29
#CAF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF166
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF166#FFFFFF#000000##000000
##CAF1661.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F9E26F
Tritanopia (blue-blind)
#D3E6D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf166;
/* rgb */ color: rgb(202, 241, 102);
/* oklch */ color: oklch(90.3% 0.171 123.0);
Tailwind
colors: {
  custom: {
    50: '#ddf596',
    500: '#caf166',
    950: '#000000',
  },
}
SCSS
$custom: #caf166;
$custom-light: #ddf596;
$custom-dark: #000000;
JSON
{
  "hex": "#caf166",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 76.835,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90309,
    "c": 0.17059,
    "h": 123
  },
  "luminance": 0.76426
}

Semantic roles & 50–950 ramp

primary
#CAF166
secondary
#5D34C7
accent
#06E043
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF166

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

Preview Lab → · Contrast checker → · Palette generator →

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