#CAFA6F#CAFA6F

#CAFA6F is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.4% C 0.174 H 125.6°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#CAFA6F
RGBrgb(202, 250, 111)
HSLhsl(81, 93%, 71%)
HSVhsv(81, 56%, 98%)
CMYKcmyk(19.2%, 0%, 55.6%, 2%)
CIE-LABlab(92.61, -35.88, 60.62)
CIE-LCHlch(92.61, 70.44, 120.62°)
OKLaboklab(92.39% -0.1015 0.1418)
OKLCHoklch(92.39% 0.174 125.6)
XYZxyz(61.4120, 82.0748, 27.6424)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA6F #9F6FFA
analogous
#FAE46F #CAFA6F #84FA6F
triadic
#CAFA6F #6FCAFA #FA6FCA
tetradic
#CAFA6F #6FFAE4 #9F6FFA #FA6F84
square
#CAFA6F #6FFAE4 #9F6FFA #FA6F84
split-complementary
#CAFA6F #6F84FA #E46FFA
monochromatic
#9AE708 #B4F834 #CAFA6F #E0FCAA #F4FEE1

Accessibility & contrast

On white

1.21
#CAFA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#CAFA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA6F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA6F#FFFFFF#000000##000000
##CAFA6F1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#D1EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa6f;
/* rgb */ color: rgb(202, 250, 111);
/* oklch */ color: oklch(92.4% 0.174 125.6);
Tailwind
colors: {
  custom: {
    50: '#ddfc9c',
    500: '#cafa6f',
    950: '#000000',
  },
}
SCSS
$custom: #cafa6f;
$custom-light: #ddfc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa6f",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 80.719,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92393,
    "c": 0.17438,
    "h": 125.6
  },
  "luminance": 0.82075
}

Semantic roles & 50–950 ramp

primary
#CAFA6F
secondary
#6E38D5
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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