#CEF97A#CEF97A

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

Color values

HEX#CEF97A
RGBrgb(206, 249, 122)
HSLhsl(80, 91%, 73%)
HSVhsv(80, 51%, 98%)
CMYKcmyk(17.3%, 0%, 51%, 2.4%)
CIE-LABlab(92.70, -32.94, 55.87)
CIE-LCHlch(92.70, 64.85, 120.52°)
OKLaboklab(92.57% -0.0925 0.1325)
OKLCHoklch(92.57% 0.162 124.9)
XYZxyz(62.8421, 82.2778, 30.9790)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF97A #A57AF9
analogous
#F9E57A #CEF97A #8EF97A
triadic
#CEF97A #7ACEF9 #F97ACE
tetradic
#CEF97A #7AF9E5 #A57AF9 #F97A8E
square
#CEF97A #7AF9E5 #A57AF9 #F97A8E
split-complementary
#CEF97A #7A8EF9 #E57AF9
monochromatic
#A1EE0B #B8F63F #CEF97A #E4FCB5 #F4FEE2

Accessibility & contrast

On white

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

On black

17.46
#CEF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF97A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF97A#FFFFFF#000000##000000
##CEF97A1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cef97a;
/* rgb */ color: rgb(206, 249, 122);
/* oklch */ color: oklch(92.6% 0.162 124.9);
Tailwind
colors: {
  custom: {
    50: '#dffba3',
    500: '#cef97a',
    950: '#000000',
  },
}
SCSS
$custom: #cef97a;
$custom-light: #dffba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cef97a",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 80.315,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92566,
    "c": 0.16158,
    "h": 124.9
  },
  "luminance": 0.82278
}

Semantic roles & 50–950 ramp

primary
#CEF97A
secondary
#7442D5
accent
#00E64E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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