#CEF778#CEF778

#CEF778 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.1% C 0.161 H 124.3°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#CEF778
RGBrgb(206, 247, 120)
HSLhsl(79, 89%, 72%)
HSVhsv(79, 51%, 97%)
CMYKcmyk(16.6%, 0%, 51.4%, 3.1%)
CIE-LABlab(92.13, -32.21, 56.11)
CIE-LCHlch(92.13, 64.69, 119.86°)
OKLaboklab(92.1% -0.0907 0.1328)
OKLCHoklch(92.1% 0.161 124.3)
XYZxyz(62.1046, 80.9990, 30.1282)
Luminance0.8100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF778 #A178F7
analogous
#F7E078 #CEF778 #8FF778
triadic
#CEF778 #78CEF7 #F778CE
tetradic
#CEF778 #78F7E0 #A178F7 #F7788F
square
#CEF778 #78F7E0 #A178F7 #F7788F
split-complementary
#CEF778 #788FF7 #E078F7
monochromatic
#A1E70E #B9F43E #CEF778 #E3FAB2 #F5FDE2

Accessibility & contrast

On white

1.22
#CEF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#CEF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF778
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF778#FFFFFF#000000##000000
##CEF7781.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#D6EDDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cef778;
/* rgb */ color: rgb(206, 247, 120);
/* oklch */ color: oklch(92.1% 0.161 124.3);
Tailwind
colors: {
  custom: {
    50: '#dffaa2',
    500: '#cef778',
    950: '#000000',
  },
}
SCSS
$custom: #cef778;
$custom-light: #dffaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cef778",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 79.37,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92103,
    "c": 0.16082,
    "h": 124.3
  },
  "luminance": 0.80999
}

Semantic roles & 50–950 ramp

primary
#CEF778
secondary
#7041D3
accent
#00E54A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF778

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

Preview Lab → · Contrast checker → · Palette generator →

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