#CAF897#CAF897

#CAF897 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.5% C 0.133 H 129.4°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#CAF897
RGBrgb(202, 248, 151)
HSLhsl(88, 87%, 78%)
HSVhsv(88, 39%, 97%)
CMYKcmyk(18.5%, 0%, 39.1%, 2.7%)
CIE-LABlab(92.54, -30.73, 41.85)
CIE-LCHlch(92.54, 51.92, 126.29°)
OKLaboklab(92.5% -0.0843 0.1028)
OKLCHoklch(92.5% 0.133 129.4)
XYZxyz(63.5096, 81.9248, 41.7392)
Luminance0.8193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF897 #C597F8
analogous
#F8F697 #CAF897 #99F897
triadic
#CAF897 #97CAF8 #F897CA
tetradic
#CAF897 #97F8F6 #C597F8 #F89799
square
#CAF897 #97F8F6 #C597F8 #F89799
split-complementary
#CAF897 #9799F8 #F697F8
monochromatic
#90F024 #ADF45E #CAF897 #E7FCD0 #F0FDE2

Accessibility & contrast

On white

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

On black

17.39
#CAF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF897
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF897#FFFFFF#000000##000000
##CAF8971.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#CEF0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf897;
/* rgb */ color: rgb(202, 248, 151);
/* oklch */ color: oklch(92.5% 0.133 129.4);
Tailwind
colors: {
  custom: {
    50: '#dbfab7',
    500: '#caf897',
    950: '#000000',
  },
}
SCSS
$custom: #caf897;
$custom-light: #dbfab7;
$custom-dark: #000000;
JSON
{
  "hex": "#caf897",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 88.454,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92495,
    "c": 0.13293,
    "h": 129.4
  },
  "luminance": 0.81926
}

Semantic roles & 50–950 ramp

primary
#CAF897
secondary
#965CD8
accent
#02E46D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAF897

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

Preview Lab → · Contrast checker → · Palette generator →

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