#CEF97C#CEF97C

#CEF97C is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.160 H 125.1°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#CEF97C
RGBrgb(206, 249, 124)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.3%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.72, -32.74, 54.98)
CIE-LCHlch(92.72, 63.99, 120.78°)
OKLaboklab(92.59% -0.0918 0.1307)
OKLCHoklch(92.59% 0.16 125.1)
XYZxyz(62.9673, 82.3279, 31.6384)
Luminance0.8233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF97C #A77CF9
analogous
#F9E57C #CEF97C #8FF97C
triadic
#CEF97C #7CCEF9 #F97CCE
tetradic
#CEF97C #7CF9E5 #A77CF9 #F97C8F
square
#CEF97C #7CF9E5 #A77CF9 #F97C8F
split-complementary
#CEF97C #7C8FF9 #E57CF9
monochromatic
#A1F00B #B8F641 #CEF97C #E4FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

17.47
#CEF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF97C
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF97C#FFFFFF#000000##000000
##CEF97C1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#D5EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef97c;
/* rgb */ color: rgb(206, 249, 124);
/* oklch */ color: oklch(92.6% 0.160 125.1);
Tailwind
colors: {
  custom: {
    50: '#dffba5',
    500: '#cef97c',
    950: '#000000',
  },
}
SCSS
$custom: #cef97c;
$custom-light: #dffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cef97c",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 80.64,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92591,
    "c": 0.15972,
    "h": 125.1
  },
  "luminance": 0.82328
}

Semantic roles & 50–950 ramp

primary
#CEF97C
secondary
#7644D6
accent
#00E64F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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