#CEF971#CEF971

#CEF971 is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.170 H 124.3°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#CEF971
RGBrgb(206, 249, 113)
HSLhsl(79, 92%, 71%)
HSVhsv(79, 55%, 98%)
CMYKcmyk(17.3%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.60, -33.77, 59.80)
CIE-LCHlch(92.60, 68.67, 119.45°)
OKLaboklab(92.46% -0.0956 0.1402)
OKLCHoklch(92.46% 0.17 124.3)
XYZxyz(62.3101, 82.0650, 28.1770)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF971 #9C71F9
analogous
#F9E071 #CEF971 #8AF971
triadic
#CEF971 #71CEF9 #F971CE
tetradic
#CEF971 #71F9E0 #9C71F9 #F9718A
square
#CEF971 #71F9E0 #9C71F9 #F9718A
split-complementary
#CEF971 #718AF9 #E071F9
monochromatic
#A0E60A #BAF736 #CEF971 #E2FBAC #F5FEE2

Accessibility & contrast

On white

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

On black

17.41
#CEF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF971
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF971#FFFFFF#000000##000000
##CEF9711.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D6EEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef971;
/* rgb */ color: rgb(206, 249, 113);
/* oklch */ color: oklch(92.5% 0.170 124.3);
Tailwind
colors: {
  custom: {
    50: '#dffb9e',
    500: '#cef971',
    950: '#000000',
  },
}
SCSS
$custom: #cef971;
$custom-light: #dffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef971",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 78.971,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9246,
    "c": 0.1697,
    "h": 124.3
  },
  "luminance": 0.82065
}

Semantic roles & 50–950 ramp

primary
#CEF971
secondary
#6B3AD4
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF971

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

Preview Lab → · Contrast checker → · Palette generator →

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