#CAF766#CAF766

#CAF766 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.6% C 0.178 H 124.4°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#CAF766
RGBrgb(202, 247, 102)
HSLhsl(79, 90%, 68%)
HSVhsv(79, 59%, 97%)
CMYKcmyk(18.2%, 0%, 58.7%, 3.1%)
CIE-LABlab(91.70, -35.27, 63.46)
CIE-LCHlch(91.70, 72.61, 119.07°)
OKLaboklab(91.64% -0.1005 0.147)
OKLCHoklch(91.64% 0.178 124.4)
XYZxyz(60.0164, 80.0369, 24.8546)
Luminance0.8004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF766 #9366F7
analogous
#F7DC66 #CAF766 #81F766
triadic
#CAF766 #66CAF7 #F766CA
tetradic
#CAF766 #66F7DC #9366F7 #F76681
square
#CAF766 #66F7DC #9366F7 #F76681
split-complementary
#CAF766 #6681F7 #DC66F7
monochromatic
#98D70B #B6F42C #CAF766 #DEFAA0 #F2FDDA

Accessibility & contrast

On white

1.23
#CAF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#CAF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF766
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF766#FFFFFF#000000##000000
##CAF7661.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FEE770
Tritanopia (blue-blind)
#D2ECD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #caf766;
/* rgb */ color: rgb(202, 247, 102);
/* oklch */ color: oklch(91.6% 0.178 124.4);
Tailwind
colors: {
  custom: {
    50: '#ddfa97',
    500: '#caf766',
    950: '#000000',
  },
}
SCSS
$custom: #caf766;
$custom-light: #ddfa97;
$custom-dark: #000000;
JSON
{
  "hex": "#caf766",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 78.621,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91635,
    "c": 0.17809,
    "h": 124.4
  },
  "luminance": 0.80037
}

Semantic roles & 50–950 ramp

primary
#CAF766
secondary
#6231D0
accent
#00E647
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF766

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

Preview Lab → · Contrast checker → · Palette generator →

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