#CAF258#CAF258

#CAF258 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.183 H 122.6°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#CAF258
RGBrgb(202, 242, 88)
HSLhsl(76, 86%, 65%)
HSVhsv(76, 64%, 95%)
CMYKcmyk(16.5%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.21, -34.03, 67.58)
CIE-LCHlch(90.21, 75.66, 116.73°)
OKLaboklab(90.4% -0.0984 0.154)
OKLCHoklch(90.4% 0.183 122.6)
XYZxyz(57.8713, 76.7652, 20.9990)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF258 #8058F2
analogous
#F2CD58 #CAF258 #7DF258
triadic
#CAF258 #58CAF2 #F258CA
tetradic
#CAF258 #58F2CD #8058F2 #F2587D
square
#CAF258 #58F2CD #8058F2 #F2587D
split-complementary
#CAF258 #587DF2 #CD58F2
monochromatic
#92C10F #B8EE1F #CAF258 #DCF691 #EEFBCA

Accessibility & contrast

On white

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

On black

16.35
#CAF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF258
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF258#FFFFFF#000000##000000
##CAF2581.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FAE363
Tritanopia (blue-blind)
#D4E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf258;
/* rgb */ color: rgb(202, 242, 88);
/* oklch */ color: oklch(90.4% 0.183 122.6);
Tailwind
colors: {
  custom: {
    50: '#ddf68e',
    500: '#caf258',
    950: '#000000',
  },
}
SCSS
$custom: #caf258;
$custom-light: #ddf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf258",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 75.584,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90397,
    "c": 0.18275,
    "h": 122.6
  },
  "luminance": 0.76765
}

Semantic roles & 50–950 ramp

primary
#CAF258
secondary
#5530BE
accent
#03E23D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF258

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

Preview Lab → · Contrast checker → · Palette generator →

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