#CAF397#CAF397

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

Color values

HEX#CAF397
RGBrgb(202, 243, 151)
HSLhsl(87, 79%, 77%)
HSVhsv(87, 38%, 95%)
CMYKcmyk(16.9%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.19, -28.39, 40.10)
CIE-LCHlch(91.19, 49.14, 125.29°)
OKLaboklab(91.41% -0.0778 0.0987)
OKLCHoklch(91.41% 0.126 128.2)
XYZxyz(61.9929, 78.8914, 41.2337)
Luminance0.7889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF397 #C097F3
analogous
#F3EE97 #CAF397 #9CF397
triadic
#CAF397 #97CAF3 #F397CA
tetradic
#CAF397 #97F3EE #C097F3 #F3979C
square
#CAF397 #97F3EE #C097F3 #F3979C
split-complementary
#CAF397 #979CF3 #EE97F3
monochromatic
#92E629 #AEED60 #CAF397 #E6F9CE #F1FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF397#FFFFFF#000000##000000
##CAF3971.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)
#FCE890
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#CEEBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf397;
/* rgb */ color: rgb(202, 243, 151);
/* oklch */ color: oklch(91.4% 0.126 128.2);
Tailwind
colors: {
  custom: {
    50: '#dbf7b6',
    500: '#caf397',
    950: '#000000',
  },
}
SCSS
$custom: #caf397;
$custom-light: #dbf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#caf397",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 86.739,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91406,
    "c": 0.1257,
    "h": 128.2
  },
  "luminance": 0.78892
}

Semantic roles & 50–950 ramp

primary
#CAF397
secondary
#915DD1
accent
#0ADC67
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAF397

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

Preview Lab → · Contrast checker → · Palette generator →

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