#CAF254#CAF254

#CAF254 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.186 H 122.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#CAF254
RGBrgb(202, 242, 84)
HSLhsl(75, 86%, 64%)
HSVhsv(75, 65%, 95%)
CMYKcmyk(16.5%, 0%, 65.3%, 5.1%)
CIE-LABlab(90.18, -34.30, 69.10)
CIE-LCHlch(90.18, 77.15, 116.40°)
OKLaboklab(90.36% -0.0994 0.1567)
OKLCHoklch(90.36% 0.186 122.4)
XYZxyz(57.7101, 76.7008, 20.1502)
Luminance0.7670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF254 #7C54F2
analogous
#F2CB54 #CAF254 #7BF254
triadic
#CAF254 #54CAF2 #F254CA
tetradic
#CAF254 #54F2CB #7C54F2 #F2547B
square
#CAF254 #54F2CB #7C54F2 #F2547B
split-complementary
#CAF254 #547BF2 #CB54F2
monochromatic
#91BD0E #B8EE1B #CAF254 #DCF68D #EDFBC6

Accessibility & contrast

On white

1.29
#CAF254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#CAF254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF254
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF254#FFFFFF#000000##000000
##CAF2541.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43E
Deuteranopia (green-blind)
#FBE360
Tritanopia (blue-blind)
#D4E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf254;
/* rgb */ color: rgb(202, 242, 84);
/* oklch */ color: oklch(90.4% 0.186 122.4);
Tailwind
colors: {
  custom: {
    50: '#ddf68c',
    500: '#caf254',
    950: '#000000',
  },
}
SCSS
$custom: #caf254;
$custom-light: #ddf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#caf254",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 75.19,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90364,
    "c": 0.18559,
    "h": 122.4
  },
  "luminance": 0.76701
}

Semantic roles & 50–950 ramp

primary
#CAF254
secondary
#522FBB
accent
#03E23C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF254

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

Preview Lab → · Contrast checker → · Palette generator →

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