#CAF97B#CAF97B

#CAF97B is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.162 H 126.3°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#CAF97B
RGBrgb(202, 249, 123)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.9%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.46, -34.31, 55.07)
CIE-LCHlch(92.46, 64.88, 121.93°)
OKLaboklab(92.31% -0.0961 0.1308)
OKLCHoklch(92.31% 0.162 126.3)
XYZxyz(61.8078, 81.7373, 31.2556)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF97B #AA7BF9
analogous
#F9E97B #CAF97B #8BF97B
triadic
#CAF97B #7BCAF9 #F97BCA
tetradic
#CAF97B #7BF9E9 #AA7BF9 #F97B8B
square
#CAF97B #7BF9E9 #AA7BF9 #F97B8B
split-complementary
#CAF97B #7B8BF9 #E97BF9
monochromatic
#9AEF0B #B2F640 #CAF97B #E2FCB6 #F3FEE2

Accessibility & contrast

On white

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

On black

17.35
#CAF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF97B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF97B#FFFFFF#000000##000000
##CAF97B1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D0EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf97b;
/* rgb */ color: rgb(202, 249, 123);
/* oklch */ color: oklch(92.3% 0.162 126.3);
Tailwind
colors: {
  custom: {
    50: '#dcfba4',
    500: '#caf97b',
    950: '#000000',
  },
}
SCSS
$custom: #caf97b;
$custom-light: #dcfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf97b",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 82.381,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92313,
    "c": 0.16233,
    "h": 126.3
  },
  "luminance": 0.81738
}

Semantic roles & 50–950 ramp

primary
#CAF97B
secondary
#7943D6
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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