#CAFC45#CAFC45

#CAFC45 is a very light, highly saturated yellow-green. Relative luminance 0.826; OKLCH L 92.5% C 0.207 H 124.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#CAFC45
RGBrgb(202, 252, 69)
HSLhsl(76, 97%, 63%)
HSVhsv(76, 73%, 99%)
CMYKcmyk(19.8%, 0%, 72.6%, 1.2%)
CIE-LABlab(92.84, -39.65, 77.09)
CIE-LCHlch(92.84, 86.69, 117.22°)
OKLaboklab(92.48% -0.1154 0.1713)
OKLCHoklch(92.48% 0.207 124)
XYZxyz(60.2423, 82.6065, 18.4000)
Luminance0.8261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC45 #7745FC
analogous
#FCD245 #CAFC45 #6FFC45
triadic
#CAFC45 #45CAFC #FC45CA
tetradic
#CAFC45 #45FCD2 #7745FC #FC456F
square
#CAFC45 #45FCD2 #7745FC #FC456F
split-complementary
#CAFC45 #456FFC #D245FC
monochromatic
#8FC303 #B9FB09 #CAFC45 #DBFD81 #ECFEBD

Accessibility & contrast

On white

1.20
#CAFC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#CAFC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC45
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC45#FFFFFF#000000##000000
##CAFC451.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC1F
Deuteranopia (green-blind)
#FFEA56
Tritanopia (blue-blind)
#D4F0D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafc45;
/* rgb */ color: rgb(202, 252, 69);
/* oklch */ color: oklch(92.5% 0.207 124.0);
Tailwind
colors: {
  custom: {
    50: '#defd85',
    500: '#cafc45',
    950: '#000000',
  },
}
SCSS
$custom: #cafc45;
$custom-light: #defd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc45",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 69
  },
  "hsl": {
    "h": 76.393,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.92481,
    "c": 0.20655,
    "h": 124
  },
  "luminance": 0.82607
}

Semantic roles & 50–950 ramp

primary
#CAFC45
secondary
#4F25C0
accent
#00E63F
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAFC45

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

Preview Lab → · Contrast checker → · Palette generator →

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