#CEF261#CEF261

#CEF261 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.8% C 0.174 H 121.7°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#CEF261
RGBrgb(206, 242, 97)
HSLhsl(75, 85%, 66%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(14.9%, 0%, 59.9%, 5.1%)
CIE-LABlab(90.55, -31.85, 64.35)
CIE-LCHlch(90.55, 71.81, 116.33°)
OKLaboklab(90.76% -0.0917 0.1483)
OKLCHoklch(90.76% 0.174 121.7)
XYZxyz(59.3640, 77.4891, 23.1364)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF261 #8561F2
analogous
#F2CE61 #CEF261 #86F261
triadic
#CEF261 #61CEF2 #F261CE
tetradic
#CEF261 #61F2CE #8561F2 #F26186
square
#CEF261 #61F2CE #8561F2 #F26186
split-complementary
#CEF261 #6186F2 #CE61F2
monochromatic
#9BC810 #BCED28 #CEF261 #E0F79A #F1FBD2

Accessibility & contrast

On white

1.27
#CEF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#CEF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF261
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF261#FFFFFF#000000##000000
##CEF2611.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE550
Deuteranopia (green-blind)
#FBE46B
Tritanopia (blue-blind)
#D8E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef261;
/* rgb */ color: rgb(206, 242, 97);
/* oklch */ color: oklch(90.8% 0.174 121.7);
Tailwind
colors: {
  custom: {
    50: '#e0f693',
    500: '#cef261',
    950: '#000000',
  },
}
SCSS
$custom: #cef261;
$custom-light: #e0f693;
$custom-dark: #000000;
JSON
{
  "hex": "#cef261",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 74.897,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90755,
    "c": 0.17433,
    "h": 121.7
  },
  "luminance": 0.77489
}

Semantic roles & 50–950 ramp

primary
#CEF261
secondary
#5732C5
accent
#04E13B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CEF261

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

Preview Lab → · Contrast checker → · Palette generator →

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