#CAF162#CAF162

#CAF162 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.3% C 0.174 H 122.8°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#CAF162
RGBrgb(202, 241, 98)
HSLhsl(76, 84%, 66%)
HSVhsv(76, 59%, 95%)
CMYKcmyk(16.2%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.02, -32.85, 63.28)
CIE-LCHlch(90.02, 71.30, 117.43°)
OKLaboklab(90.27% -0.0942 0.1462)
OKLCHoklch(90.27% 0.174 122.8)
XYZxyz(58.0175, 76.3488, 23.2332)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF162 #8962F1
analogous
#F1D162 #CAF162 #83F162
triadic
#CAF162 #62CAF1 #F162CA
tetradic
#CAF162 #62F1D1 #8962F1 #F16283
square
#CAF162 #62F1D1 #8962F1 #F16283
split-complementary
#CAF162 #6283F1 #D162F1
monochromatic
#95C712 #B7EC2A #CAF162 #DDF69A #F0FBD2

Accessibility & contrast

On white

1.29
#CAF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#CAF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF162
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF162#FFFFFF#000000##000000
##CAF1621.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#F9E26C
Tritanopia (blue-blind)
#D3E6D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf162;
/* rgb */ color: rgb(202, 241, 98);
/* oklch */ color: oklch(90.3% 0.174 122.8);
Tailwind
colors: {
  custom: {
    50: '#ddf594',
    500: '#caf162',
    950: '#000000',
  },
}
SCSS
$custom: #caf162;
$custom-light: #ddf594;
$custom-dark: #000000;
JSON
{
  "hex": "#caf162",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 76.364,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90269,
    "c": 0.17386,
    "h": 122.8
  },
  "luminance": 0.76349
}

Semantic roles & 50–950 ramp

primary
#CAF162
secondary
#5B33C4
accent
#05E041
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF162

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

Preview Lab → · Contrast checker → · Palette generator →

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