#CEF978#CEF978

#CEF978 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.163 H 124.8°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#CEF978
RGBrgb(206, 249, 120)
HSLhsl(80, 91%, 72%)
HSVhsv(80, 52%, 98%)
CMYKcmyk(17.3%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.68, -33.13, 56.75)
CIE-LCHlch(92.68, 65.71, 120.27°)
OKLaboklab(92.54% -0.0932 0.1342)
OKLCHoklch(92.54% 0.163 124.8)
XYZxyz(62.7195, 82.2287, 30.3331)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF978 #A378F9
analogous
#F9E378 #CEF978 #8EF978
triadic
#CEF978 #78CEF9 #F978CE
tetradic
#CEF978 #78F9E3 #A378F9 #F9788E
square
#CEF978 #78F9E3 #A378F9 #F9788E
split-complementary
#CEF978 #788EF9 #E378F9
monochromatic
#A1EC0A #B9F63D #CEF978 #E3FCB3 #F4FEE2

Accessibility & contrast

On white

1.20
#CEF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#CEF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF978
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF978#FFFFFF#000000##000000
##CEF9781.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#D5EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef978;
/* rgb */ color: rgb(206, 249, 120);
/* oklch */ color: oklch(92.5% 0.163 124.8);
Tailwind
colors: {
  custom: {
    50: '#dffba2',
    500: '#cef978',
    950: '#000000',
  },
}
SCSS
$custom: #cef978;
$custom-light: #dffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cef978",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 80,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92541,
    "c": 0.16343,
    "h": 124.8
  },
  "luminance": 0.82229
}

Semantic roles & 50–950 ramp

primary
#CEF978
secondary
#7240D5
accent
#00E64D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF978

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

Preview Lab → · Contrast checker → · Palette generator →

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