#CEF178#CEF178

#CEF178 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.8% C 0.153 H 122.8°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CEF178
RGBrgb(206, 241, 120)
HSLhsl(77, 81%, 71%)
HSVhsv(77, 50%, 95%)
CMYKcmyk(14.5%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.50, -29.42, 54.17)
CIE-LCHlch(90.50, 61.64, 118.51°)
OKLaboklab(90.79% -0.0829 0.1286)
OKLCHoklch(90.79% 0.153 122.8)
XYZxyz(60.2993, 77.3883, 29.5264)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF178 #9B78F1
analogous
#F1D778 #CEF178 #91F178
triadic
#CEF178 #78CEF1 #F178CE
tetradic
#CEF178 #78F1D7 #9B78F1 #F17891
square
#CEF178 #78F1D7 #9B78F1 #F17891
split-complementary
#CEF178 #7891F1 #D778F1
monochromatic
#A0D816 #BAEB41 #CEF178 #E2F7AF #F5FCE3

Accessibility & contrast

On white

1.27
#CEF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#CEF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF178
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF178#FFFFFF#000000##000000
##CEF1781.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#D6E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef178;
/* rgb */ color: rgb(206, 241, 120);
/* oklch */ color: oklch(90.8% 0.153 122.8);
Tailwind
colors: {
  custom: {
    50: '#dff5a2',
    500: '#cef178',
    950: '#000000',
  },
}
SCSS
$custom: #cef178;
$custom-light: #dff5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cef178",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 77.355,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90791,
    "c": 0.15297,
    "h": 122.8
  },
  "luminance": 0.77388
}

Semantic roles & 50–950 ramp

primary
#CEF178
secondary
#6A42CB
accent
#08DE46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF178

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

Preview Lab → · Contrast checker → · Palette generator →

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