#CAF85B#CAF85B

#CAF85B is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.8% C 0.188 H 124.0°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#CAF85B
RGBrgb(202, 248, 91)
HSLhsl(78, 92%, 66%)
HSVhsv(78, 63%, 97%)
CMYKcmyk(18.5%, 0%, 63.3%, 2.7%)
CIE-LABlab(91.88, -36.55, 68.17)
CIE-LCHlch(91.88, 77.35, 118.20°)
OKLaboklab(91.75% -0.1051 0.1557)
OKLCHoklch(91.75% 0.188 124)
XYZxyz(59.8133, 80.4462, 22.2720)
Luminance0.8045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF85B #895BF8
analogous
#F8D85B #CAF85B #7CF85B
triadic
#CAF85B #5BCAF8 #F85BCA
tetradic
#CAF85B #5BF8D8 #895BF8 #F85B7C
square
#CAF85B #5BF8D8 #895BF8 #F85B7C
split-complementary
#CAF85B #5B7CF8 #D85BF8
monochromatic
#95D009 #B7F520 #CAF85B #DDFB96 #F0FDD0

Accessibility & contrast

On white

1.23
#CAF85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#CAF85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF85B
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF85B#FFFFFF#000000##000000
##CAF85B1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE947
Deuteranopia (green-blind)
#FFE767
Tritanopia (blue-blind)
#D3EDD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf85b;
/* rgb */ color: rgb(202, 248, 91);
/* oklch */ color: oklch(91.8% 0.188 124.0);
Tailwind
colors: {
  custom: {
    50: '#ddfa90',
    500: '#caf85b',
    950: '#000000',
  },
}
SCSS
$custom: #caf85b;
$custom-light: #ddfa90;
$custom-dark: #000000;
JSON
{
  "hex": "#caf85b",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 91
  },
  "hsl": {
    "h": 77.58,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91753,
    "c": 0.1878,
    "h": 124
  },
  "luminance": 0.80447
}

Semantic roles & 50–950 ramp

primary
#CAF85B
secondary
#5B2CCB
accent
#00E643
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF85B

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

Preview Lab → · Contrast checker → · Palette generator →

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