#CEF871#CEF871

#CEF871 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.168 H 124.1°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CEF871
RGBrgb(206, 248, 113)
HSLhsl(79, 91%, 71%)
HSVhsv(79, 54%, 97%)
CMYKcmyk(16.9%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.33, -33.31, 59.48)
CIE-LCHlch(92.33, 68.17, 119.25°)
OKLaboklab(92.24% -0.0943 0.1395)
OKLCHoklch(92.24% 0.168 124.1)
XYZxyz(62.0018, 81.4485, 28.0743)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF871 #9B71F8
analogous
#F8DF71 #CEF871 #8AF871
triadic
#CEF871 #71CEF8 #F871CE
tetradic
#CEF871 #71F8DF #9B71F8 #F8718A
square
#CEF871 #71F8DF #9B71F8 #F8718A
split-complementary
#CEF871 #718AF8 #DF71F8
monochromatic
#A0E30B #BAF537 #CEF871 #E2FBAB #F5FEE2

Accessibility & contrast

On white

1.21
#CEF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#CEF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF871
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF871#FFFFFF#000000##000000
##CEF8711.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D6EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef871;
/* rgb */ color: rgb(206, 248, 113);
/* oklch */ color: oklch(92.2% 0.168 124.1);
Tailwind
colors: {
  custom: {
    50: '#dffa9d',
    500: '#cef871',
    950: '#000000',
  },
}
SCSS
$custom: #cef871;
$custom-light: #dffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef871",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 78.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9224,
    "c": 0.16842,
    "h": 124.1
  },
  "luminance": 0.81449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEF871

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

Preview Lab → · Contrast checker → · Palette generator →

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