#CAFE6F#CAFE6F

#CAFE6F is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.3% C 0.179 H 126.4°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#CAFE6F
RGBrgb(202, 254, 111)
HSLhsl(82, 99%, 72%)
HSVhsv(82, 56%, 100%)
CMYKcmyk(20.5%, 0%, 56.3%, 0.4%)
CIE-LABlab(93.70, -37.68, 61.87)
CIE-LCHlch(93.70, 72.44, 121.34°)
OKLaboklab(93.28% -0.1065 0.1445)
OKLCHoklch(93.28% 0.18 126.4)
XYZxyz(62.6681, 84.5870, 28.0612)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE6F #A36FFE
analogous
#FEEA6F #CAFE6F #83FE6F
triadic
#CAFE6F #6FCAFE #FE6FCA
tetradic
#CAFE6F #6FFEEA #A36FFE #FE6F83
square
#CAFE6F #6FFEEA #A36FFE #FE6F83
split-complementary
#CAFE6F #6F83FE #EA6FFE
monochromatic
#9AF102 #B4FE32 #CAFE6F #E0FEAC #F4FFE1

Accessibility & contrast

On white

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

On black

17.92
#CAFE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE6F
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE6F#FFFFFF#000000##000000
##CAFE6F1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#D1F3DF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #cafe6f;
/* rgb */ color: rgb(202, 254, 111);
/* oklch */ color: oklch(93.3% 0.179 126.4);
Tailwind
colors: {
  custom: {
    50: '#ddff9d',
    500: '#cafe6f',
    950: '#000000',
  },
}
SCSS
$custom: #cafe6f;
$custom-light: #ddff9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe6f",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 111
  },
  "hsl": {
    "h": 81.818,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93279,
    "c": 0.1795,
    "h": 126.4
  },
  "luminance": 0.84588
}

Semantic roles & 50–950 ramp

primary
#CAFE6F
secondary
#7237DA
accent
#00E653
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15180F
muted
#848680

Preview Lab

Preview with #CAFE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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