#CAFF54#CAFF54

#CAFF54 is a very light, highly saturated yellow-green. Relative luminance 0.847; OKLCH L 93.3% C 0.201 H 125.1°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#CAFF54
RGBrgb(202, 255, 84)
HSLhsl(79, 100%, 66%)
HSVhsv(79, 67%, 100%)
CMYKcmyk(20.8%, 0%, 67.1%, 0%)
CIE-LABlab(93.76, -40.13, 72.80)
CIE-LCHlch(93.76, 83.13, 118.87°)
OKLaboklab(93.25% -0.1156 0.1645)
OKLCHoklch(93.25% 0.201 125.1)
XYZxyz(61.7177, 84.7160, 21.4861)
Luminance0.8472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFF54 #8954FF
analogous
#FFDE54 #CAFF54 #75FF54
triadic
#CAFF54 #54CAFF #FF54CA
tetradic
#CAFF54 #54FFDE #8954FF #FF5475
square
#CAFF54 #54FFDE #8954FF #FF5475
split-complementary
#CAFF54 #5475FF #DE54FF
monochromatic
#95D900 #B7FF17 #CAFF54 #DDFF91 #F0FFCE

Accessibility & contrast

On white

1.17
#CAFF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#CAFF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFF54
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFF54#FFFFFF#000000##000000
##CAFF541.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF3A
Deuteranopia (green-blind)
#FFEC62
Tritanopia (blue-blind)
#D3F3DD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #caff54;
/* rgb */ color: rgb(202, 255, 84);
/* oklch */ color: oklch(93.3% 0.201 125.1);
Tailwind
colors: {
  custom: {
    50: '#deff8d',
    500: '#caff54',
    950: '#000000',
  },
}
SCSS
$custom: #caff54;
$custom-light: #deff8d;
$custom-dark: #000000;
JSON
{
  "hex": "#caff54",
  "rgb": {
    "r": 202,
    "g": 255,
    "b": 84
  },
  "hsl": {
    "h": 78.596,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93253,
    "c": 0.20103,
    "h": 125.1
  },
  "luminance": 0.84717
}

Semantic roles & 50–950 ramp

primary
#CAFF54
secondary
#5B25D2
accent
#00E647
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16180D
muted
#84867F

Preview Lab

Preview with #CAFF54

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

Preview Lab → · Contrast checker → · Palette generator →

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