#CAF54E#CAF54E

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

Color values

HEX#CAF54E
RGBrgb(202, 245, 78)
HSLhsl(75, 89%, 63%)
HSVhsv(75, 68%, 96%)
CMYKcmyk(17.6%, 0%, 68.2%, 3.9%)
CIE-LABlab(90.97, -36.03, 72.15)
CIE-LCHlch(90.97, 80.64, 116.54°)
OKLaboklab(90.98% -0.1048 0.1623)
OKLCHoklch(90.98% 0.193 122.8)
XYZxyz(58.3853, 78.4112, 19.2652)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF54E #794EF5
analogous
#F5CC4E #CAF54E #76F54E
triadic
#CAF54E #4ECAF5 #F54ECA
tetradic
#CAF54E #4EF5CC #794EF5 #F54E76
square
#CAF54E #4EF5CC #794EF5 #F54E76
split-complementary
#CAF54E #4E76F5 #CC4EF5
monochromatic
#90BE0B #B9F214 #CAF54E #DBF888 #EDFCC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF54E#FFFFFF#000000##000000
##CAF54E1.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)
#FFE634
Deuteranopia (green-blind)
#FDE55C
Tritanopia (blue-blind)
#D4E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf54e;
/* rgb */ color: rgb(202, 245, 78);
/* oklch */ color: oklch(91.0% 0.193 122.8);
Tailwind
colors: {
  custom: {
    50: '#def889',
    500: '#caf54e',
    950: '#000000',
  },
}
SCSS
$custom: #caf54e;
$custom-light: #def889;
$custom-dark: #000000;
JSON
{
  "hex": "#caf54e",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 78
  },
  "hsl": {
    "h": 75.449,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90983,
    "c": 0.19314,
    "h": 122.8
  },
  "luminance": 0.78411
}

Semantic roles & 50–950 ramp

primary
#CAF54E
secondary
#512BBC
accent
#00E63B
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAF54E

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

Preview Lab → · Contrast checker → · Palette generator →

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