#CEF462#CEF462

#CEF462 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.2% C 0.176 H 122.3°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#CEF462
RGBrgb(206, 244, 98)
HSLhsl(76, 87%, 67%)
HSVhsv(76, 60%, 96%)
CMYKcmyk(15.6%, 0%, 59.8%, 4.3%)
CIE-LABlab(91.10, -32.70, 64.55)
CIE-LCHlch(91.10, 72.36, 116.87°)
OKLaboklab(91.2% -0.094 0.1488)
OKLCHoklch(91.2% 0.176 122.3)
XYZxyz(60.0094, 78.7049, 23.5830)
Luminance0.7871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF462 #8862F4
analogous
#F4D162 #CEF462 #85F462
triadic
#CEF462 #62CEF4 #F462CE
tetradic
#CEF462 #62F4D1 #8862F4 #F46285
square
#CEF462 #62F4D1 #8862F4 #F46285
split-complementary
#CEF462 #6285F4 #D162F4
monochromatic
#9CCD0E #BCF029 #CEF462 #E0F89B #F2FCD4

Accessibility & contrast

On white

1.25
#CEF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#CEF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF462
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF462#FFFFFF#000000##000000
##CEF4621.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#D8E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef462;
/* rgb */ color: rgb(206, 244, 98);
/* oklch */ color: oklch(91.2% 0.176 122.3);
Tailwind
colors: {
  custom: {
    50: '#e0f794',
    500: '#cef462',
    950: '#000000',
  },
}
SCSS
$custom: #cef462;
$custom-light: #e0f794;
$custom-dark: #000000;
JSON
{
  "hex": "#cef462",
  "rgb": {
    "r": 206,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 75.616,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91204,
    "c": 0.17598,
    "h": 122.3
  },
  "luminance": 0.78705
}

Semantic roles & 50–950 ramp

primary
#CEF462
secondary
#5931C9
accent
#02E33D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CEF462

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

Preview Lab → · Contrast checker → · Palette generator →

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