#CAF85C#CAF85C

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

Color values

HEX#CAF85C
RGBrgb(202, 248, 92)
HSLhsl(78, 92%, 67%)
HSVhsv(78, 63%, 97%)
CMYKcmyk(18.5%, 0%, 62.9%, 2.7%)
CIE-LABlab(91.89, -36.48, 67.78)
CIE-LCHlch(91.89, 76.97, 118.29°)
OKLaboklab(91.76% -0.1048 0.155)
OKLCHoklch(91.76% 0.187 124.1)
XYZxyz(59.8567, 80.4636, 22.5007)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF85C #8A5CF8
analogous
#F8D85C #CAF85C #7CF85C
triadic
#CAF85C #5CCAF8 #F85CCA
tetradic
#CAF85C #5CF8D8 #8A5CF8 #F85C7C
square
#CAF85C #5CF8D8 #8A5CF8 #F85C7C
split-complementary
#CAF85C #5C7CF8 #D85CF8
monochromatic
#96D109 #B7F521 #CAF85C #DDFB97 #F0FDD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF85C#FFFFFF#000000##000000
##CAF85C1.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)
#FFE948
Deuteranopia (green-blind)
#FFE767
Tritanopia (blue-blind)
#D3EDD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf85c;
/* rgb */ color: rgb(202, 248, 92);
/* oklch */ color: oklch(91.8% 0.187 124.1);
Tailwind
colors: {
  custom: {
    50: '#ddfa91',
    500: '#caf85c',
    950: '#000000',
  },
}
SCSS
$custom: #caf85c;
$custom-light: #ddfa91;
$custom-dark: #000000;
JSON
{
  "hex": "#caf85c",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 92
  },
  "hsl": {
    "h": 77.692,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91762,
    "c": 0.18707,
    "h": 124.1
  },
  "luminance": 0.80464
}

Semantic roles & 50–950 ramp

primary
#CAF85C
secondary
#5B2CCC
accent
#00E644
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF85C

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

Preview Lab → · Contrast checker → · Palette generator →

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