#CEF166#CEF166

#CEF166 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.6% C 0.169 H 121.7°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#CEF166
RGBrgb(206, 241, 102)
HSLhsl(75, 83%, 67%)
HSVhsv(75, 58%, 95%)
CMYKcmyk(14.5%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.32, -31.00, 61.99)
CIE-LCHlch(90.32, 69.31, 116.57°)
OKLaboklab(90.59% -0.0889 0.1438)
OKLCHoklch(90.59% 0.169 121.7)
XYZxyz(59.3077, 76.9917, 24.3042)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF166 #8966F1
analogous
#F1CF66 #CEF166 #88F166
triadic
#CEF166 #66CEF1 #F166CE
tetradic
#CEF166 #66F1CF #8966F1 #F16688
square
#CEF166 #66F1CF #8966F1 #F16688
split-complementary
#CEF166 #6688F1 #CF66F1
monochromatic
#9CCA12 #BCEC2E #CEF166 #E0F69E #F2FBD6

Accessibility & contrast

On white

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

On black

16.40
#CEF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF166
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF166#FFFFFF#000000##000000
##CEF1661.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#FAE36F
Tritanopia (blue-blind)
#D8E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cef166;
/* rgb */ color: rgb(206, 241, 102);
/* oklch */ color: oklch(90.6% 0.169 121.7);
Tailwind
colors: {
  custom: {
    50: '#e0f596',
    500: '#cef166',
    950: '#000000',
  },
}
SCSS
$custom: #cef166;
$custom-light: #e0f596;
$custom-dark: #000000;
JSON
{
  "hex": "#cef166",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 75.108,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90585,
    "c": 0.16903,
    "h": 121.7
  },
  "luminance": 0.76992
}

Semantic roles & 50–950 ramp

primary
#CEF166
secondary
#5934C7
accent
#06E03D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CEF166

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

Preview Lab → · Contrast checker → · Palette generator →

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