#CAF562#CAF562

#CAF562 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.2% C 0.179 H 123.7°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#CAF562
RGBrgb(202, 245, 98)
HSLhsl(78, 88%, 67%)
HSVhsv(78, 60%, 96%)
CMYKcmyk(17.6%, 0%, 60%, 3.9%)
CIE-LABlab(91.12, -34.68, 64.49)
CIE-LCHlch(91.12, 73.22, 118.27°)
OKLaboklab(91.15% -0.0992 0.1487)
OKLCHoklch(91.15% 0.179 123.7)
XYZxyz(59.2145, 78.7428, 23.6322)
Luminance0.7874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF562 #8D62F5
analogous
#F5D762 #CAF562 #81F562
triadic
#CAF562 #62CAF5 #F562CA
tetradic
#CAF562 #62F5D7 #8D62F5 #F56281
square
#CAF562 #62F5D7 #8D62F5 #F56281
split-complementary
#CAF562 #6281F5 #D762F5
monochromatic
#97CF0D #B7F128 #CAF562 #DDF99C #F1FCD5

Accessibility & contrast

On white

1.25
#CAF562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#CAF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF562
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF562#FFFFFF#000000##000000
##CAF5621.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#D3EAD6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf562;
/* rgb */ color: rgb(202, 245, 98);
/* oklch */ color: oklch(91.2% 0.179 123.7);
Tailwind
colors: {
  custom: {
    50: '#ddf894',
    500: '#caf562',
    950: '#000000',
  },
}
SCSS
$custom: #caf562;
$custom-light: #ddf894;
$custom-dark: #000000;
JSON
{
  "hex": "#caf562",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 77.551,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91153,
    "c": 0.17881,
    "h": 123.7
  },
  "luminance": 0.78743
}

Semantic roles & 50–950 ramp

primary
#CAF562
secondary
#5D30CB
accent
#01E544
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF562

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

Preview Lab → · Contrast checker → · Palette generator →

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