#CEF27A#CEF27A

#CEF27A is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.0% C 0.152 H 123.2°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#CEF27A
RGBrgb(206, 242, 122)
HSLhsl(78, 82%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(14.9%, 0%, 49.6%, 5.1%)
CIE-LABlab(90.79, -29.70, 53.59)
CIE-LCHlch(90.79, 61.27, 118.99°)
OKLaboklab(91.04% -0.0835 0.1275)
OKLCHoklch(91.04% 0.152 123.2)
XYZxyz(60.7187, 78.0310, 30.2712)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF27A #9E7AF2
analogous
#F2DA7A #CEF27A #92F27A
triadic
#CEF27A #7ACEF2 #F27ACE
tetradic
#CEF27A #7AF2DA #9E7AF2 #F27A92
square
#CEF27A #7AF2DA #9E7AF2 #F27A92
split-complementary
#CEF27A #7A92F2 #DA7AF2
monochromatic
#A1DC16 #B9ED42 #CEF27A #E3F7B2 #F5FCE3

Accessibility & contrast

On white

1.26
#CEF27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#CEF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF27A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF27A#FFFFFF#000000##000000
##CEF27A1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#F9E481
Tritanopia (blue-blind)
#D6E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef27a;
/* rgb */ color: rgb(206, 242, 122);
/* oklch */ color: oklch(91.0% 0.152 123.2);
Tailwind
colors: {
  custom: {
    50: '#dff6a3',
    500: '#cef27a',
    950: '#000000',
  },
}
SCSS
$custom: #cef27a;
$custom-light: #dff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cef27a",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 78,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91035,
    "c": 0.15238,
    "h": 123.2
  },
  "luminance": 0.78031
}

Semantic roles & 50–950 ramp

primary
#CEF27A
secondary
#6D44CD
accent
#07DF48
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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