#CEF179#CEF179

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

Color values

HEX#CEF179
RGBrgb(206, 241, 121)
HSLhsl(78, 81%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(14.5%, 0%, 49.8%, 5.5%)
CIE-LABlab(90.51, -29.33, 53.72)
CIE-LCHlch(90.51, 61.20, 118.63°)
OKLaboklab(90.8% -0.0825 0.1277)
OKLCHoklch(90.8% 0.152 122.9)
XYZxyz(60.3603, 77.4127, 29.8477)
Luminance0.7741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF179 #9C79F1
analogous
#F1D879 #CEF179 #92F179
triadic
#CEF179 #79CEF1 #F179CE
tetradic
#CEF179 #79F1D8 #9C79F1 #F17992
square
#CEF179 #79F1D8 #9C79F1 #F17992
split-complementary
#CEF179 #7992F1 #D879F1
monochromatic
#A0D917 #BAEB42 #CEF179 #E2F7B0 #F5FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF179#FFFFFF#000000##000000
##CEF1791.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)
#FDE56E
Deuteranopia (green-blind)
#F8E480
Tritanopia (blue-blind)
#D6E7D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef179;
/* rgb */ color: rgb(206, 241, 121);
/* oklch */ color: oklch(90.8% 0.152 122.9);
Tailwind
colors: {
  custom: {
    50: '#dff5a2',
    500: '#cef179',
    950: '#000000',
  },
}
SCSS
$custom: #cef179;
$custom-light: #dff5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cef179",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 77.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90804,
    "c": 0.15203,
    "h": 122.9
  },
  "luminance": 0.77413
}

Semantic roles & 50–950 ramp

primary
#CEF179
secondary
#6B43CB
accent
#08DD46
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF179

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

Preview Lab → · Contrast checker → · Palette generator →

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