#CEF266#CEF266

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

Color values

HEX#CEF266
RGBrgb(206, 242, 102)
HSLhsl(75, 84%, 67%)
HSVhsv(75, 58%, 95%)
CMYKcmyk(14.9%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.59, -31.47, 62.29)
CIE-LCHlch(90.59, 69.79, 116.80°)
OKLaboklab(90.81% -0.0902 0.1444)
OKLCHoklch(90.81% 0.17 122)
XYZxyz(59.6045, 77.5853, 24.4032)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF266 #8A66F2
analogous
#F2D066 #CEF266 #88F266
triadic
#CEF266 #66CEF2 #F266CE
tetradic
#CEF266 #66F2D0 #8A66F2 #F26688
square
#CEF266 #66F2D0 #8A66F2 #F26688
split-complementary
#CEF266 #6688F2 #D066F2
monochromatic
#9CCC11 #BCED2E #CEF266 #E0F79E #F2FCD7

Accessibility & contrast

On white

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

On black

16.52
#CEF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF266
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF266#FFFFFF#000000##000000
##CEF2661.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cef266;
/* rgb */ color: rgb(206, 242, 102);
/* oklch */ color: oklch(90.8% 0.170 122.0);
Tailwind
colors: {
  custom: {
    50: '#e0f696',
    500: '#cef266',
    950: '#000000',
  },
}
SCSS
$custom: #cef266;
$custom-light: #e0f696;
$custom-dark: #000000;
JSON
{
  "hex": "#cef266",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 75.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90805,
    "c": 0.17027,
    "h": 122
  },
  "luminance": 0.77585
}

Semantic roles & 50–950 ramp

primary
#CEF266
secondary
#5A34C9
accent
#05E13D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CEF266

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

Preview Lab → · Contrast checker → · Palette generator →

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