#CEF171#CEF171

#CEF171 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.7% C 0.159 H 122.3°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CEF171
RGBrgb(206, 241, 113)
HSLhsl(76, 82%, 69%)
HSVhsv(76, 53%, 95%)
CMYKcmyk(14.5%, 0%, 53.1%, 5.5%)
CIE-LABlab(90.42, -30.07, 57.27)
CIE-LCHlch(90.42, 64.68, 117.70°)
OKLaboklab(90.71% -0.0853 0.1347)
OKLCHoklch(90.71% 0.159 122.3)
XYZxyz(59.8899, 77.2245, 27.3703)
Luminance0.7722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF171 #9471F1
analogous
#F1D471 #CEF171 #8EF171
triadic
#CEF171 #71CEF1 #F171CE
tetradic
#CEF171 #71F1D4 #9471F1 #F1718E
square
#CEF171 #71F1D4 #9471F1 #F1718E
split-complementary
#CEF171 #718EF1 #D471F1
monochromatic
#9FD315 #BBEC39 #CEF171 #E1F6A9 #F4FCE0

Accessibility & contrast

On white

1.28
#CEF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#CEF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF171
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF171#FFFFFF#000000##000000
##CEF1711.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#D7E6D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef171;
/* rgb */ color: rgb(206, 241, 113);
/* oklch */ color: oklch(90.7% 0.159 122.3);
Tailwind
colors: {
  custom: {
    50: '#dff59d',
    500: '#cef171',
    950: '#000000',
  },
}
SCSS
$custom: #cef171;
$custom-light: #dff59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef171",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 76.406,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90706,
    "c": 0.15947,
    "h": 122.3
  },
  "luminance": 0.77225
}

Semantic roles & 50–950 ramp

primary
#CEF171
secondary
#633CCA
accent
#07DE42
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF171

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

Preview Lab → · Contrast checker → · Palette generator →

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