#CEF272#CEF272

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

Color values

HEX#CEF272
RGBrgb(206, 242, 114)
HSLhsl(77, 83%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(14.9%, 0%, 52.9%, 5.1%)
CIE-LABlab(90.71, -30.45, 57.15)
CIE-LCHlch(90.71, 64.75, 118.05°)
OKLaboklab(90.94% -0.0862 0.1346)
OKLCHoklch(90.94% 0.16 122.7)
XYZxyz(60.2433, 77.8408, 27.7673)
Luminance0.7784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF272 #9672F2
analogous
#F2D672 #CEF272 #8EF272
triadic
#CEF272 #72CEF2 #F272CE
tetradic
#CEF272 #72F2D6 #9672F2 #F2728E
square
#CEF272 #72F2D6 #9672F2 #F2728E
split-complementary
#CEF272 #728EF2 #D672F2
monochromatic
#9FD614 #BBED3A #CEF272 #E1F7AA #F5FCE2

Accessibility & contrast

On white

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

On black

16.57
#CEF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF272
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF272#FFFFFF#000000##000000
##CEF2721.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cef272;
/* rgb */ color: rgb(206, 242, 114);
/* oklch */ color: oklch(90.9% 0.160 122.7);
Tailwind
colors: {
  custom: {
    50: '#dff69e',
    500: '#cef272',
    950: '#000000',
  },
}
SCSS
$custom: #cef272;
$custom-light: #dff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef272",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 76.875,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90937,
    "c": 0.15984,
    "h": 122.7
  },
  "luminance": 0.77841
}

Semantic roles & 50–950 ramp

primary
#CEF272
secondary
#653DCC
accent
#06E043
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF272

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

Preview Lab → · Contrast checker → · Palette generator →

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