#CAF862#CAF862

#CAF862 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.8% C 0.183 H 124.4°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#CAF862
RGBrgb(202, 248, 98)
HSLhsl(78, 91%, 68%)
HSVhsv(78, 60%, 97%)
CMYKcmyk(18.5%, 0%, 60.5%, 2.7%)
CIE-LABlab(91.94, -36.04, 65.40)
CIE-LCHlch(91.94, 74.67, 118.86°)
OKLaboklab(91.82% -0.103 0.1507)
OKLCHoklch(91.82% 0.183 124.4)
XYZxyz(60.1295, 80.5727, 23.9372)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF862 #9062F8
analogous
#F8DB62 #CAF862 #7FF862
triadic
#CAF862 #62CAF8 #F862CA
tetradic
#CAF862 #62F8DB #9062F8 #F8627F
square
#CAF862 #62F8DB #9062F8 #F8627F
split-complementary
#CAF862 #627FF8 #DB62F8
monochromatic
#97D60A #B6F527 #CAF862 #DEFB9D #F2FDD7

Accessibility & contrast

On white

1.23
#CAF862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#CAF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF862
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF862#FFFFFF#000000##000000
##CAF8621.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FFE76D
Tritanopia (blue-blind)
#D2EDD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf862;
/* rgb */ color: rgb(202, 248, 98);
/* oklch */ color: oklch(91.8% 0.183 124.4);
Tailwind
colors: {
  custom: {
    50: '#ddfa94',
    500: '#caf862',
    950: '#000000',
  },
}
SCSS
$custom: #caf862;
$custom-light: #ddfa94;
$custom-dark: #000000;
JSON
{
  "hex": "#caf862",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 78.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91817,
    "c": 0.18252,
    "h": 124.4
  },
  "luminance": 0.80573
}

Semantic roles & 50–950 ramp

primary
#CAF862
secondary
#602ED0
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF862

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

Preview Lab → · Contrast checker → · Palette generator →

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