#CEF262#CEF262

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

Color values

HEX#CEF262
RGBrgb(206, 242, 98)
HSLhsl(75, 85%, 67%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(14.9%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.55, -31.78, 63.95)
CIE-LCHlch(90.55, 71.41, 116.43°)
OKLaboklab(90.77% -0.0914 0.1475)
OKLCHoklch(90.77% 0.174 121.8)
XYZxyz(59.4109, 77.5079, 23.3835)
Luminance0.7751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF262 #8662F2
analogous
#F2CE62 #CEF262 #86F262
triadic
#CEF262 #62CEF2 #F262CE
tetradic
#CEF262 #62F2CE #8662F2 #F26286
square
#CEF262 #62F2CE #8662F2 #F26286
split-complementary
#CEF262 #6286F2 #CE62F2
monochromatic
#9BC911 #BCED29 #CEF262 #E0F79B #F1FBD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEF262#FFFFFF#000000##000000
##CEF2621.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)
#FFE552
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#D8E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef262;
/* rgb */ color: rgb(206, 242, 98);
/* oklch */ color: oklch(90.8% 0.174 121.8);
Tailwind
colors: {
  custom: {
    50: '#e0f694',
    500: '#cef262',
    950: '#000000',
  },
}
SCSS
$custom: #cef262;
$custom-light: #e0f694;
$custom-dark: #000000;
JSON
{
  "hex": "#cef262",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90765,
    "c": 0.17354,
    "h": 121.8
  },
  "luminance": 0.77508
}

Semantic roles & 50–950 ramp

primary
#CEF262
secondary
#5733C6
accent
#04E13C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CEF262

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

Preview Lab → · Contrast checker → · Palette generator →

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