#CEF671#CEF671

#CEF671 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.8% C 0.166 H 123.6°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#CEF671
RGBrgb(206, 246, 113)
HSLhsl(78, 88%, 70%)
HSVhsv(78, 54%, 96%)
CMYKcmyk(16.3%, 0%, 54.1%, 3.5%)
CIE-LABlab(91.79, -32.39, 58.85)
CIE-LCHlch(91.79, 67.17, 118.83°)
OKLaboklab(91.8% -0.0918 0.1382)
OKLCHoklch(91.8% 0.166 123.6)
XYZxyz(61.3902, 80.2253, 27.8704)
Luminance0.8023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF671 #9971F6
analogous
#F6DB71 #CEF671 #8BF671
triadic
#CEF671 #71CEF6 #F671CE
tetradic
#CEF671 #71F6DB #9971F6 #F6718B
square
#CEF671 #71F6DB #9971F6 #F6718B
split-complementary
#CEF671 #718BF6 #DB71F6
monochromatic
#A0DE0E #BAF237 #CEF671 #E2FAAB #F5FDE2

Accessibility & contrast

On white

1.23
#CEF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#CEF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF671
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF671#FFFFFF#000000##000000
##CEF6711.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#D6EBD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cef671;
/* rgb */ color: rgb(206, 246, 113);
/* oklch */ color: oklch(91.8% 0.166 123.6);
Tailwind
colors: {
  custom: {
    50: '#dff99d',
    500: '#cef671',
    950: '#000000',
  },
}
SCSS
$custom: #cef671;
$custom-light: #dff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef671",
  "rgb": {
    "r": 206,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 78.045,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91801,
    "c": 0.16586,
    "h": 123.6
  },
  "luminance": 0.80226
}

Semantic roles & 50–950 ramp

primary
#CEF671
secondary
#683BD0
accent
#01E545
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF671

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

Preview Lab → · Contrast checker → · Palette generator →

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