#CEF662#CEF662

#CEF662 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.6% C 0.178 H 122.8°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#CEF662
RGBrgb(206, 246, 98)
HSLhsl(76, 89%, 67%)
HSVhsv(76, 60%, 96%)
CMYKcmyk(16.3%, 0%, 60.2%, 3.5%)
CIE-LABlab(91.65, -33.62, 65.15)
CIE-LCHlch(91.65, 73.31, 117.29°)
OKLaboklab(91.64% -0.0965 0.1501)
OKLCHoklch(91.64% 0.178 122.8)
XYZxyz(60.6145, 79.9150, 23.7847)
Luminance0.7992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF662 #8A62F6
analogous
#F6D462 #CEF662 #84F662
triadic
#CEF662 #62CEF6 #F662CE
tetradic
#CEF662 #62F6D4 #8A62F6 #F66284
square
#CEF662 #62F6D4 #8A62F6 #F66284
split-complementary
#CEF662 #6284F6 #D462F6
monochromatic
#9CD20C #BCF328 #CEF662 #E0F99C #F2FDD6

Accessibility & contrast

On white

1.24
#CEF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#CEF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF662
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF662#FFFFFF#000000##000000
##CEF6621.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#D7EBD7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cef662;
/* rgb */ color: rgb(206, 246, 98);
/* oklch */ color: oklch(91.6% 0.178 122.8);
Tailwind
colors: {
  custom: {
    50: '#e0f994',
    500: '#cef662',
    950: '#000000',
  },
}
SCSS
$custom: #cef662;
$custom-light: #e0f994;
$custom-dark: #000000;
JSON
{
  "hex": "#cef662",
  "rgb": {
    "r": 206,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 76.216,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91644,
    "c": 0.17843,
    "h": 122.8
  },
  "luminance": 0.79915
}

Semantic roles & 50–950 ramp

primary
#CEF662
secondary
#5A2FCD
accent
#00E63E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CEF662

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

Preview Lab → · Contrast checker → · Palette generator →

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