#CEF97F#CEF97F

#CEF97F is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.157 H 125.4°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CEF97F
RGBrgb(206, 249, 127)
HSLhsl(81, 91%, 74%)
HSVhsv(81, 49%, 98%)
CMYKcmyk(17.3%, 0%, 49%, 2.4%)
CIE-LABlab(92.75, -32.44, 53.64)
CIE-LCHlch(92.75, 62.69, 121.17°)
OKLaboklab(92.63% -0.0908 0.1279)
OKLCHoklch(92.63% 0.157 125.4)
XYZxyz(63.1599, 82.4049, 32.6528)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF97F #AA7FF9
analogous
#F9E77F #CEF97F #91F97F
triadic
#CEF97F #7FCEF9 #F97FCE
tetradic
#CEF97F #7FF9E7 #AA7FF9 #F97F91
square
#CEF97F #7FF9E7 #AA7FF9 #F97F91
split-complementary
#CEF97F #7F91F9 #E77FF9
monochromatic
#A1F20B #B8F645 #CEF97F #E4FCB9 #F4FEE2

Accessibility & contrast

On white

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

On black

17.48
#CEF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF97F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF97F#FFFFFF#000000##000000
##CEF97F1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC74
Deuteranopia (green-blind)
#FEEA86
Tritanopia (blue-blind)
#D5EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef97f;
/* rgb */ color: rgb(206, 249, 127);
/* oklch */ color: oklch(92.6% 0.157 125.4);
Tailwind
colors: {
  custom: {
    50: '#dffba7',
    500: '#cef97f',
    950: '#000000',
  },
}
SCSS
$custom: #cef97f;
$custom-light: #dffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef97f",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 81.148,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92629,
    "c": 0.15687,
    "h": 125.4
  },
  "luminance": 0.82405
}

Semantic roles & 50–950 ramp

primary
#CEF97F
secondary
#7946D6
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CEF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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