#CAF56B#CAF56B

#CAF56B is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.2% C 0.171 H 124.2°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#CAF56B
RGBrgb(202, 245, 107)
HSLhsl(79, 87%, 69%)
HSVhsv(79, 56%, 96%)
CMYKcmyk(17.6%, 0%, 56.3%, 3.9%)
CIE-LABlab(91.20, -33.95, 60.75)
CIE-LCHlch(91.20, 69.59, 119.20°)
OKLaboklab(91.25% -0.0964 0.1417)
OKLCHoklch(91.25% 0.171 124.2)
XYZxyz(59.6636, 78.9225, 25.9974)
Luminance0.7892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF56B #966BF5
analogous
#F5DB6B #CAF56B #85F56B
triadic
#CAF56B #6BCAF5 #F56BCA
tetradic
#CAF56B #6BF5DB #966BF5 #F56B85
square
#CAF56B #6BF5DB #966BF5 #F56B85
split-complementary
#CAF56B #6B85F5 #DB6BF5
monochromatic
#99D70F #B5F132 #CAF56B #DFF9A4 #F3FDDE

Accessibility & contrast

On white

1.25
#CAF56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#CAF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF56B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF56B#FFFFFF#000000##000000
##CAF56B1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75D
Deuteranopia (green-blind)
#FCE574
Tritanopia (blue-blind)
#D2EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf56b;
/* rgb */ color: rgb(202, 245, 107);
/* oklch */ color: oklch(91.2% 0.171 124.2);
Tailwind
colors: {
  custom: {
    50: '#ddf89a',
    500: '#caf56b',
    950: '#000000',
  },
}
SCSS
$custom: #caf56b;
$custom-light: #ddf89a;
$custom-dark: #000000;
JSON
{
  "hex": "#caf56b",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 78.696,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91245,
    "c": 0.17142,
    "h": 124.2
  },
  "luminance": 0.78923
}

Semantic roles & 50–950 ramp

primary
#CAF56B
secondary
#6536CE
accent
#02E448
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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