#CAF462#CAF462

#CAF462 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.9% C 0.178 H 123.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#CAF462
RGBrgb(202, 244, 98)
HSLhsl(77, 87%, 67%)
HSVhsv(77, 60%, 96%)
CMYKcmyk(17.2%, 0%, 59.8%, 4.3%)
CIE-LABlab(90.84, -34.22, 64.19)
CIE-LCHlch(90.84, 72.74, 118.06°)
OKLaboklab(90.93% -0.098 0.1481)
OKLCHoklch(90.93% 0.178 123.5)
XYZxyz(58.9128, 78.1394, 23.5316)
Luminance0.7814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF462 #8C62F4
analogous
#F4D562 #CAF462 #81F462
triadic
#CAF462 #62CAF4 #F462CA
tetradic
#CAF462 #62F4D5 #8C62F4 #F46281
square
#CAF462 #62F4D5 #8C62F4 #F46281
split-complementary
#CAF462 #6281F4 #D562F4
monochromatic
#96CD0E #B7F029 #CAF462 #DDF89B #F1FCD4

Accessibility & contrast

On white

1.26
#CAF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#CAF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF462
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF462#FFFFFF#000000##000000
##CAF4621.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#D3E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf462;
/* rgb */ color: rgb(202, 244, 98);
/* oklch */ color: oklch(90.9% 0.178 123.5);
Tailwind
colors: {
  custom: {
    50: '#ddf794',
    500: '#caf462',
    950: '#000000',
  },
}
SCSS
$custom: #caf462;
$custom-light: #ddf794;
$custom-dark: #000000;
JSON
{
  "hex": "#caf462",
  "rgb": {
    "r": 202,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 77.26,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90932,
    "c": 0.17757,
    "h": 123.5
  },
  "luminance": 0.7814
}

Semantic roles & 50–950 ramp

primary
#CAF462
secondary
#5D31C9
accent
#02E343
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF462

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

Preview Lab → · Contrast checker → · Palette generator →

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