#CEF97E#CEF97E

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

Color values

HEX#CEF97E
RGBrgb(206, 249, 126)
HSLhsl(81, 91%, 74%)
HSVhsv(81, 49%, 98%)
CMYKcmyk(17.3%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.74, -32.55, 54.08)
CIE-LCHlch(92.74, 63.12, 121.04°)
OKLaboklab(92.62% -0.0911 0.1289)
OKLCHoklch(92.62% 0.158 125.3)
XYZxyz(63.0951, 82.3790, 32.3113)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF97E #A97EF9
analogous
#F9E77E #CEF97E #90F97E
triadic
#CEF97E #7ECEF9 #F97ECE
tetradic
#CEF97E #7EF9E7 #A97EF9 #F97E90
square
#CEF97E #7EF9E7 #A97EF9 #F97E90
split-complementary
#CEF97E #7E90F9 #E77EF9
monochromatic
#A1F10B #B8F644 #CEF97E #E4FCB8 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF97E#FFFFFF#000000##000000
##CEF97E1.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)
#FFEC73
Deuteranopia (green-blind)
#FEEA85
Tritanopia (blue-blind)
#D5EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef97e;
/* rgb */ color: rgb(206, 249, 126);
/* oklch */ color: oklch(92.6% 0.158 125.3);
Tailwind
colors: {
  custom: {
    50: '#dffba6',
    500: '#cef97e',
    950: '#000000',
  },
}
SCSS
$custom: #cef97e;
$custom-light: #dffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef97e",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 80.976,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92616,
    "c": 0.15783,
    "h": 125.3
  },
  "luminance": 0.8238
}

Semantic roles & 50–950 ramp

primary
#CEF97E
secondary
#7845D6
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CEF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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