#CEF268#CEF268

#CEF268 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.169 H 122.1°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#CEF268
RGBrgb(206, 242, 104)
HSLhsl(76, 84%, 68%)
HSVhsv(76, 57%, 95%)
CMYKcmyk(14.9%, 0%, 57%, 5.1%)
CIE-LABlab(90.61, -31.31, 61.45)
CIE-LCHlch(90.61, 68.97, 117.00°)
OKLaboklab(90.83% -0.0895 0.1429)
OKLCHoklch(90.83% 0.169 122.1)
XYZxyz(59.7049, 77.6255, 24.9318)
Luminance0.7763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF268 #8C68F2
analogous
#F2D168 #CEF268 #89F268
triadic
#CEF268 #68CEF2 #F268CE
tetradic
#CEF268 #68F2D1 #8C68F2 #F26889
square
#CEF268 #68F2D1 #8C68F2 #F26889
split-complementary
#CEF268 #6889F2 #D168F2
monochromatic
#9DCE12 #BCED30 #CEF268 #E0F7A0 #F3FCD9

Accessibility & contrast

On white

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

On black

16.53
#CEF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF268
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF268#FFFFFF#000000##000000
##CEF2681.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE559
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#D7E7D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef268;
/* rgb */ color: rgb(206, 242, 104);
/* oklch */ color: oklch(90.8% 0.169 122.1);
Tailwind
colors: {
  custom: {
    50: '#dff698',
    500: '#cef268',
    950: '#000000',
  },
}
SCSS
$custom: #cef268;
$custom-light: #dff698;
$custom-dark: #000000;
JSON
{
  "hex": "#cef268",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 75.652,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90826,
    "c": 0.16861,
    "h": 122.1
  },
  "luminance": 0.77626
}

Semantic roles & 50–950 ramp

primary
#CEF268
secondary
#5B34CA
accent
#05E13E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CEF268

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

Preview Lab → · Contrast checker → · Palette generator →

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