#CAF962#CAF962

#CAF962 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.0% C 0.184 H 124.6°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CAF962
RGBrgb(202, 249, 98)
HSLhsl(79, 93%, 68%)
HSVhsv(79, 61%, 98%)
CMYKcmyk(18.9%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.22, -36.49, 65.70)
CIE-LCHlch(92.22, 75.15, 119.05°)
OKLaboklab(92.04% -0.1043 0.1513)
OKLCHoklch(92.04% 0.184 124.6)
XYZxyz(60.4377, 81.1892, 24.0399)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF962 #9162F9
analogous
#F9DC62 #CAF962 #7FF962
triadic
#CAF962 #62CAF9 #F962CA
tetradic
#CAF962 #62F9DC #9162F9 #F9627F
square
#CAF962 #62F9DC #9162F9 #F9627F
split-complementary
#CAF962 #627FF9 #DC62F9
monochromatic
#98D808 #B6F727 #CAF962 #DEFB9D #F2FED8

Accessibility & contrast

On white

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

On black

17.24
#CAF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF962
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF962#FFFFFF#000000##000000
##CAF9621.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE86D
Tritanopia (blue-blind)
#D2EED9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf962;
/* rgb */ color: rgb(202, 249, 98);
/* oklch */ color: oklch(92.0% 0.184 124.6);
Tailwind
colors: {
  custom: {
    50: '#ddfb94',
    500: '#caf962',
    950: '#000000',
  },
}
SCSS
$custom: #caf962;
$custom-light: #ddfb94;
$custom-dark: #000000;
JSON
{
  "hex": "#caf962",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 78.675,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92039,
    "c": 0.18375,
    "h": 124.6
  },
  "luminance": 0.8119
}

Semantic roles & 50–950 ramp

primary
#CAF962
secondary
#602DD2
accent
#00E647
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF962

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

Preview Lab → · Contrast checker → · Palette generator →

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