#CEF396#CEF396

#CEF396 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.7% C 0.125 H 126.4°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#CEF396
RGBrgb(206, 243, 150)
HSLhsl(84, 79%, 77%)
HSVhsv(84, 38%, 95%)
CMYKcmyk(15.2%, 0%, 38.3%, 4.7%)
CIE-LABlab(91.43, -27.07, 40.96)
CIE-LCHlch(91.43, 49.10, 123.46°)
OKLaboklab(91.66% -0.0742 0.1007)
OKLCHoklch(91.66% 0.125 126.4)
XYZxyz(63.0086, 79.4245, 40.8592)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF396 #BB96F3
analogous
#F3EA96 #CEF396 #A0F396
triadic
#CEF396 #96CEF3 #F396CE
tetradic
#CEF396 #96F3EA #BB96F3 #F396A0
square
#CEF396 #96F3EA #BB96F3 #F396A0
split-complementary
#CEF396 #96A0F3 #EA96F3
monochromatic
#9BE628 #B4ED5F #CEF396 #E8F9CD #F2FCE4

Accessibility & contrast

On white

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

On black

16.89
#CEF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF396
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF396#FFFFFF#000000##000000
##CEF3961.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#D3EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef396;
/* rgb */ color: rgb(206, 243, 150);
/* oklch */ color: oklch(91.7% 0.125 126.4);
Tailwind
colors: {
  custom: {
    50: '#def7b6',
    500: '#cef396',
    950: '#000000',
  },
}
SCSS
$custom: #cef396;
$custom-light: #def7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef396",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 83.871,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91659,
    "c": 0.12508,
    "h": 126.4
  },
  "luminance": 0.79425
}

Semantic roles & 50–950 ramp

primary
#CEF396
secondary
#8B5DD1
accent
#0ADC5D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF396

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

Preview Lab → · Contrast checker → · Palette generator →

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