#CAF55B#CAF55B

#CAF55B is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.1% C 0.184 H 123.4°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#CAF55B
RGBrgb(202, 245, 91)
HSLhsl(77, 89%, 66%)
HSVhsv(77, 63%, 96%)
CMYKcmyk(17.6%, 0%, 62.9%, 3.9%)
CIE-LABlab(91.06, -35.19, 67.29)
CIE-LCHlch(91.06, 75.93, 117.61°)
OKLaboklab(91.09% -0.1013 0.1538)
OKLCHoklch(91.09% 0.184 123.4)
XYZxyz(58.8984, 78.6164, 21.9670)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF55B #865BF5
analogous
#F5D35B #CAF55B #7DF55B
triadic
#CAF55B #5BCAF5 #F55BCA
tetradic
#CAF55B #5BF5D3 #865BF5 #F55B7D
square
#CAF55B #5BF5D3 #865BF5 #F55B7D
split-complementary
#CAF55B #5B7DF5 #D35BF5
monochromatic
#95C90C #B7F121 #CAF55B #DDF995 #EFFCCE

Accessibility & contrast

On white

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

On black

16.72
#CAF55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF55B
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF55B#FFFFFF#000000##000000
##CAF55B1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE747
Deuteranopia (green-blind)
#FDE566
Tritanopia (blue-blind)
#D3EAD5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf55b;
/* rgb */ color: rgb(202, 245, 91);
/* oklch */ color: oklch(91.1% 0.184 123.4);
Tailwind
colors: {
  custom: {
    50: '#ddf890',
    500: '#caf55b',
    950: '#000000',
  },
}
SCSS
$custom: #caf55b;
$custom-light: #ddf890;
$custom-dark: #000000;
JSON
{
  "hex": "#caf55b",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 91
  },
  "hsl": {
    "h": 76.753,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91088,
    "c": 0.18416,
    "h": 123.4
  },
  "luminance": 0.78617
}

Semantic roles & 50–950 ramp

primary
#CAF55B
secondary
#592EC6
accent
#00E540
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF55B

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

Preview Lab → · Contrast checker → · Palette generator →

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