#CEF962#CEF962

#CEF962 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.182 H 123.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#CEF962
RGBrgb(206, 249, 98)
HSLhsl(77, 93%, 68%)
HSVhsv(77, 61%, 98%)
CMYKcmyk(17.3%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.47, -34.98, 66.05)
CIE-LCHlch(92.47, 74.74, 117.91°)
OKLaboklab(92.31% -0.1003 0.152)
OKLCHoklch(92.31% 0.182 123.4)
XYZxyz(61.5343, 81.7547, 24.0913)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF962 #8D62F9
analogous
#F9D862 #CEF962 #82F962
triadic
#CEF962 #62CEF9 #F962CE
tetradic
#CEF962 #62F9D8 #8D62F9 #F96282
square
#CEF962 #62F9D8 #8D62F9 #F96282
split-complementary
#CEF962 #6282F9 #D862F9
monochromatic
#9DD808 #BCF727 #CEF962 #E0FB9D #F3FED8

Accessibility & contrast

On white

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

On black

17.35
#CEF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF962
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF962#FFFFFF#000000##000000
##CEF9621.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFE96D
Tritanopia (blue-blind)
#D7EED9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef962;
/* rgb */ color: rgb(206, 249, 98);
/* oklch */ color: oklch(92.3% 0.182 123.4);
Tailwind
colors: {
  custom: {
    50: '#e0fb94',
    500: '#cef962',
    950: '#000000',
  },
}
SCSS
$custom: #cef962;
$custom-light: #e0fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cef962",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 77.086,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92305,
    "c": 0.18209,
    "h": 123.4
  },
  "luminance": 0.81755
}

Semantic roles & 50–950 ramp

primary
#CEF962
secondary
#5C2DD2
accent
#00E641
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CEF962

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

Preview Lab → · Contrast checker → · Palette generator →

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