#CEF258#CEF258

#CEF258 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.181 H 121.4°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CEF258
RGBrgb(206, 242, 88)
HSLhsl(74, 86%, 65%)
HSVhsv(74, 64%, 95%)
CMYKcmyk(14.9%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.47, -32.49, 67.93)
CIE-LCHlch(90.47, 75.30, 115.56°)
OKLaboklab(90.67% -0.0943 0.1547)
OKLCHoklch(90.67% 0.181 121.4)
XYZxyz(58.9679, 77.3307, 21.0504)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF258 #7C58F2
analogous
#F2C958 #CEF258 #81F258
triadic
#CEF258 #58CEF2 #F258CE
tetradic
#CEF258 #58F2C9 #7C58F2 #F25881
square
#CEF258 #58F2C9 #7C58F2 #F25881
split-complementary
#CEF258 #5881F2 #C958F2
monochromatic
#97C10F #BDEE1F #CEF258 #DFF691 #EFFBCA

Accessibility & contrast

On white

1.28
#CEF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CEF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF258
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF258#FFFFFF#000000##000000
##CEF2581.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FBE463
Tritanopia (blue-blind)
#D8E6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef258;
/* rgb */ color: rgb(206, 242, 88);
/* oklch */ color: oklch(90.7% 0.181 121.4);
Tailwind
colors: {
  custom: {
    50: '#e0f68e',
    500: '#cef258',
    950: '#000000',
  },
}
SCSS
$custom: #cef258;
$custom-light: #e0f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef258",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 74.026,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90673,
    "c": 0.18118,
    "h": 121.4
  },
  "luminance": 0.77331
}

Semantic roles & 50–950 ramp

primary
#CEF258
secondary
#5130BE
accent
#03E237
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CEF258

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

Preview Lab → · Contrast checker → · Palette generator →

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