#CAF95C#CAF95C

#CAF95C is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.0% C 0.188 H 124.3°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#CAF95C
RGBrgb(202, 249, 92)
HSLhsl(78, 93%, 67%)
HSVhsv(78, 63%, 98%)
CMYKcmyk(18.9%, 0%, 63.1%, 2.4%)
CIE-LABlab(92.17, -36.93, 68.07)
CIE-LCHlch(92.17, 77.44, 118.48°)
OKLaboklab(91.98% -0.106 0.1556)
OKLCHoklch(91.98% 0.188 124.3)
XYZxyz(60.1650, 81.0801, 22.6035)
Luminance0.8108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF95C #8B5CF9
analogous
#F9DA5C #CAF95C #7CF95C
triadic
#CAF95C #5CCAF9 #F95CCA
tetradic
#CAF95C #5CF9DA #8B5CF9 #F95C7C
square
#CAF95C #5CF9DA #8B5CF9 #F95C7C
split-complementary
#CAF95C #5C7CF9 #DA5CF9
monochromatic
#96D308 #B7F721 #CAF95C #DDFB97 #F0FDD2

Accessibility & contrast

On white

1.22
#CAF95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#CAF95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF95C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF95C#FFFFFF#000000##000000
##CAF95C1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA48
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#D3EED8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf95c;
/* rgb */ color: rgb(202, 249, 92);
/* oklch */ color: oklch(92.0% 0.188 124.3);
Tailwind
colors: {
  custom: {
    50: '#ddfb91',
    500: '#caf95c',
    950: '#000000',
  },
}
SCSS
$custom: #caf95c;
$custom-light: #ddfb91;
$custom-dark: #000000;
JSON
{
  "hex": "#caf95c",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 92
  },
  "hsl": {
    "h": 77.962,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91984,
    "c": 0.18828,
    "h": 124.3
  },
  "luminance": 0.81081
}

Semantic roles & 50–950 ramp

primary
#CAF95C
secondary
#5C2CCE
accent
#00E645
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF95C

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

Preview Lab → · Contrast checker → · Palette generator →

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