#CEF299#CEF299

#CEF299 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.5% C 0.120 H 126.6°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#CEF299
RGBrgb(206, 242, 153)
HSLhsl(84, 77%, 77%)
HSVhsv(84, 37%, 95%)
CMYKcmyk(14.9%, 0%, 36.8%, 5.1%)
CIE-LABlab(91.20, -26.22, 39.18)
CIE-LCHlch(91.20, 47.15, 123.79°)
OKLaboklab(91.49% -0.0717 0.0967)
OKLCHoklch(91.49% 0.12 126.6)
XYZxyz(62.9549, 78.9254, 42.0483)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF299 #BD99F2
analogous
#F2EA99 #CEF299 #A1F299
triadic
#CEF299 #99CEF2 #F299CE
tetradic
#CEF299 #99F2EA #BD99F2 #F299A1
square
#CEF299 #99F2EA #BD99F2 #F299A1
split-complementary
#CEF299 #99A1F2 #EA99F2
monochromatic
#9AE42C #B4EB63 #CEF299 #E8F9CF #F2FCE4

Accessibility & contrast

On white

1.25
#CEF299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#CEF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF299
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF299#FFFFFF#000000##000000
##CEF2991.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE793
Deuteranopia (green-blind)
#F6E59D
Tritanopia (blue-blind)
#D3EADC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef299;
/* rgb */ color: rgb(206, 242, 153);
/* oklch */ color: oklch(91.5% 0.120 126.6);
Tailwind
colors: {
  custom: {
    50: '#def6b8',
    500: '#cef299',
    950: '#000000',
  },
}
SCSS
$custom: #cef299;
$custom-light: #def6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cef299",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 84.27,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91493,
    "c": 0.12038,
    "h": 126.6
  },
  "luminance": 0.78926
}

Semantic roles & 50–950 ramp

primary
#CEF299
secondary
#8D60D0
accent
#0CDA5F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF299

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

Preview Lab → · Contrast checker → · Palette generator →

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