#CAF54C#CAF54C

#CAF54C is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.0% C 0.194 H 122.8°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#CAF54C
RGBrgb(202, 245, 76)
HSLhsl(75, 89%, 63%)
HSVhsv(75, 69%, 96%)
CMYKcmyk(17.6%, 0%, 69%, 3.9%)
CIE-LABlab(90.95, -36.15, 72.85)
CIE-LCHlch(90.95, 81.33, 116.39°)
OKLaboklab(90.97% -0.1052 0.1634)
OKLCHoklch(90.97% 0.194 122.8)
XYZxyz(58.3147, 78.3829, 18.8933)
Luminance0.7838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF54C #774CF5
analogous
#F5CB4C #CAF54C #76F54C
triadic
#CAF54C #4CCAF5 #F54CCA
tetradic
#CAF54C #4CF5CB #774CF5 #F54C76
square
#CAF54C #4CF5CB #774CF5 #F54C76
split-complementary
#CAF54C #4C76F5 #CB4CF5
monochromatic
#8FBC0B #B9F212 #CAF54C #DBF886 #ECFBC0

Accessibility & contrast

On white

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

On black

16.68
#CAF54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF54C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF54C#FFFFFF#000000##000000
##CAF54C1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE630
Deuteranopia (green-blind)
#FDE55A
Tritanopia (blue-blind)
#D4E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf54c;
/* rgb */ color: rgb(202, 245, 76);
/* oklch */ color: oklch(91.0% 0.194 122.8);
Tailwind
colors: {
  custom: {
    50: '#def888',
    500: '#caf54c',
    950: '#000000',
  },
}
SCSS
$custom: #caf54c;
$custom-light: #def888;
$custom-dark: #000000;
JSON
{
  "hex": "#caf54c",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 76
  },
  "hsl": {
    "h": 75.266,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90968,
    "c": 0.1944,
    "h": 122.8
  },
  "luminance": 0.78383
}

Semantic roles & 50–950 ramp

primary
#CAF54C
secondary
#4F2BBA
accent
#00E63A
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAF54C

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

Preview Lab → · Contrast checker → · Palette generator →

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