#CAF698#CAF698

#CAF698 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.1% C 0.129 H 129.1°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#CAF698
RGBrgb(202, 246, 152)
HSLhsl(88, 84%, 78%)
HSVhsv(88, 38%, 96%)
CMYKcmyk(17.9%, 0%, 38.2%, 3.5%)
CIE-LABlab(92.01, -29.67, 40.68)
CIE-LCHlch(92.01, 50.35, 126.10°)
OKLaboklab(92.08% -0.0813 0.1001)
OKLCHoklch(92.08% 0.129 129.1)
XYZxyz(62.9796, 80.7342, 41.9649)
Luminance0.8074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF698 #C498F6
analogous
#F6F398 #CAF698 #9BF698
triadic
#CAF698 #98CAF6 #F698CA
tetradic
#CAF698 #98F6F3 #C498F6 #F6989B
square
#CAF698 #98F6F3 #C498F6 #F6989B
split-complementary
#CAF698 #989BF6 #F398F6
monochromatic
#90EC27 #ADF160 #CAF698 #E7FBD0 #F1FDE3

Accessibility & contrast

On white

1.22
#CAF698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#CAF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF698
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF698#FFFFFF#000000##000000
##CAF6981.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA91
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#CEEEDF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf698;
/* rgb */ color: rgb(202, 246, 152);
/* oklch */ color: oklch(92.1% 0.129 129.1);
Tailwind
colors: {
  custom: {
    50: '#dbf9b7',
    500: '#caf698',
    950: '#000000',
  },
}
SCSS
$custom: #caf698;
$custom-light: #dbf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#caf698",
  "rgb": {
    "r": 202,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 88.085,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92076,
    "c": 0.12898,
    "h": 129.1
  },
  "luminance": 0.80735
}

Semantic roles & 50–950 ramp

primary
#CAF698
secondary
#955DD5
accent
#05E06C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAF698

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

Preview Lab → · Contrast checker → · Palette generator →

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