#CAF262#CAF262

#CAF262 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.5% C 0.175 H 123.0°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#CAF262
RGBrgb(202, 242, 98)
HSLhsl(77, 85%, 67%)
HSVhsv(77, 60%, 95%)
CMYKcmyk(16.5%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.30, -33.31, 63.59)
CIE-LCHlch(90.30, 71.78, 117.65°)
OKLaboklab(90.49% -0.0954 0.1468)
OKLCHoklch(90.49% 0.175 123)
XYZxyz(58.3143, 76.9424, 23.3321)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF262 #8A62F2
analogous
#F2D262 #CAF262 #82F262
triadic
#CAF262 #62CAF2 #F262CA
tetradic
#CAF262 #62F2D2 #8A62F2 #F26282
square
#CAF262 #62F2D2 #8A62F2 #F26282
split-complementary
#CAF262 #6282F2 #D262F2
monochromatic
#96C911 #B7ED29 #CAF262 #DDF79B #F0FBD3

Accessibility & contrast

On white

1.28
#CAF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#CAF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF262
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF262#FFFFFF#000000##000000
##CAF2621.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FAE36C
Tritanopia (blue-blind)
#D3E7D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf262;
/* rgb */ color: rgb(202, 242, 98);
/* oklch */ color: oklch(90.5% 0.175 123.0);
Tailwind
colors: {
  custom: {
    50: '#ddf694',
    500: '#caf262',
    950: '#000000',
  },
}
SCSS
$custom: #caf262;
$custom-light: #ddf694;
$custom-dark: #000000;
JSON
{
  "hex": "#caf262",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 76.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90489,
    "c": 0.17511,
    "h": 123
  },
  "luminance": 0.76943
}

Semantic roles & 50–950 ramp

primary
#CAF262
secondary
#5B33C6
accent
#04E142
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF262

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

Preview Lab → · Contrast checker → · Palette generator →

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