#CEF772#CEF772

#CEF772 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.0% C 0.166 H 123.9°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#CEF772
RGBrgb(206, 247, 114)
HSLhsl(78, 89%, 71%)
HSVhsv(78, 54%, 97%)
CMYKcmyk(16.6%, 0%, 53.8%, 3.1%)
CIE-LABlab(92.07, -32.76, 58.73)
CIE-LCHlch(92.07, 67.25, 119.15°)
OKLaboklab(92.03% -0.0927 0.138)
OKLCHoklch(92.03% 0.166 123.9)
XYZxyz(61.7518, 80.8579, 28.2702)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF772 #9B72F7
analogous
#F7DD72 #CEF772 #8BF772
triadic
#CEF772 #72CEF7 #F772CE
tetradic
#CEF772 #72F7DD #9B72F7 #F7728B
square
#CEF772 #72F7DD #9B72F7 #F7728B
split-complementary
#CEF772 #728BF7 #DD72F7
monochromatic
#A0E20D #BAF438 #CEF772 #E2FAAC #F5FDE2

Accessibility & contrast

On white

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

On black

17.17
#CEF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF772
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF772#FFFFFF#000000##000000
##CEF7721.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#D6ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cef772;
/* rgb */ color: rgb(206, 247, 114);
/* oklch */ color: oklch(92.0% 0.166 123.9);
Tailwind
colors: {
  custom: {
    50: '#dffa9e',
    500: '#cef772',
    950: '#000000',
  },
}
SCSS
$custom: #cef772;
$custom-light: #dffa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef772",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 78.496,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92032,
    "c": 0.16626,
    "h": 123.9
  },
  "luminance": 0.80858
}

Semantic roles & 50–950 ramp

primary
#CEF772
secondary
#6A3BD2
accent
#00E647
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF772

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

Preview Lab → · Contrast checker → · Palette generator →

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