#CEF771#CEF771

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

Color values

HEX#CEF771
RGBrgb(206, 247, 113)
HSLhsl(78, 89%, 71%)
HSVhsv(78, 54%, 97%)
CMYKcmyk(16.6%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.06, -32.85, 59.17)
CIE-LCHlch(92.06, 67.67, 119.04°)
OKLaboklab(92.02% -0.0931 0.1388)
OKLCHoklch(92.02% 0.167 123.8)
XYZxyz(61.6952, 80.8352, 27.9721)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF771 #9A71F7
analogous
#F7DD71 #CEF771 #8BF771
triadic
#CEF771 #71CEF7 #F771CE
tetradic
#CEF771 #71F7DD #9A71F7 #F7718B
square
#CEF771 #71F7DD #9A71F7 #F7718B
split-complementary
#CEF771 #718BF7 #DD71F7
monochromatic
#A0E10D #BAF437 #CEF771 #E2FAAB #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF771#FFFFFF#000000##000000
##CEF7711.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)
#FFE964
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#D6ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cef771;
/* rgb */ color: rgb(206, 247, 113);
/* oklch */ color: oklch(92.0% 0.167 123.8);
Tailwind
colors: {
  custom: {
    50: '#dffa9d',
    500: '#cef771',
    950: '#000000',
  },
}
SCSS
$custom: #cef771;
$custom-light: #dffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef771",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 78.358,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92021,
    "c": 0.16714,
    "h": 123.8
  },
  "luminance": 0.80836
}

Semantic roles & 50–950 ramp

primary
#CEF771
secondary
#693AD2
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF771

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

Preview Lab → · Contrast checker → · Palette generator →

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