#CEF08C#CEF08C

#CEF08C is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.9% C 0.132 H 124.3°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CEF08C
RGBrgb(206, 240, 140)
HSLhsl(80, 77%, 75%)
HSVhsv(80, 42%, 94%)
CMYKcmyk(14.2%, 0%, 41.7%, 5.9%)
CIE-LABlab(90.48, -26.84, 44.64)
CIE-LCHlch(90.48, 52.09, 121.02°)
OKLaboklab(90.85% -0.0742 0.1086)
OKLCHoklch(90.85% 0.132 124.3)
XYZxyz(61.3471, 77.3351, 36.5011)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF08C #AE8CF0
analogous
#F0E08C #CEF08C #9CF08C
triadic
#CEF08C #8CCEF0 #F08CCE
tetradic
#CEF08C #8CF0E0 #AE8CF0 #F08C9C
square
#CEF08C #8CF0E0 #AE8CF0 #F08C9C
split-complementary
#CEF08C #8C9CF0 #E08CF0
monochromatic
#A0E220 #B7E956 #CEF08C #E5F7C2 #F3FBE4

Accessibility & contrast

On white

1.28
#CEF08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CEF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF08C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF08C#FFFFFF#000000##000000
##CEF08C1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE584
Deuteranopia (green-blind)
#F5E391
Tritanopia (blue-blind)
#D4E7D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef08c;
/* rgb */ color: rgb(206, 240, 140);
/* oklch */ color: oklch(90.9% 0.132 124.3);
Tailwind
colors: {
  custom: {
    50: '#def5af',
    500: '#cef08c',
    950: '#000000',
  },
}
SCSS
$custom: #cef08c;
$custom-light: #def5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cef08c",
  "rgb": {
    "r": 206,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 80.4,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90851,
    "c": 0.13154,
    "h": 124.3
  },
  "luminance": 0.77335
}

Semantic roles & 50–950 ramp

primary
#CEF08C
secondary
#7D54CC
accent
#0CD952
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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