#CEF271#CEF271

#CEF271 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.9% C 0.161 H 122.6°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#CEF271
RGBrgb(206, 242, 113)
HSLhsl(77, 83%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(14.9%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.70, -30.54, 57.59)
CIE-LCHlch(90.70, 65.18, 117.94°)
OKLaboklab(90.93% -0.0866 0.1354)
OKLCHoklch(90.93% 0.161 122.6)
XYZxyz(60.1867, 77.8182, 27.4692)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF271 #9571F2
analogous
#F2D571 #CEF271 #8EF271
triadic
#CEF271 #71CEF2 #F271CE
tetradic
#CEF271 #71F2D5 #9571F2 #F2718E
square
#CEF271 #71F2D5 #9571F2 #F2718E
split-complementary
#CEF271 #718EF2 #D571F2
monochromatic
#9FD514 #BBED39 #CEF271 #E1F7A9 #F5FCE1

Accessibility & contrast

On white

1.27
#CEF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#CEF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF271
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF271#FFFFFF#000000##000000
##CEF2711.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#FAE479
Tritanopia (blue-blind)
#D7E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef271;
/* rgb */ color: rgb(206, 242, 113);
/* oklch */ color: oklch(90.9% 0.161 122.6);
Tailwind
colors: {
  custom: {
    50: '#dff69d',
    500: '#cef271',
    950: '#000000',
  },
}
SCSS
$custom: #cef271;
$custom-light: #dff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef271",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 76.744,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90925,
    "c": 0.16075,
    "h": 122.6
  },
  "luminance": 0.77818
}

Semantic roles & 50–950 ramp

primary
#CEF271
secondary
#643CCB
accent
#06E043
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF271

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

Preview Lab → · Contrast checker → · Palette generator →

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