#CEF159#CEF159

#CEF159 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.5% C 0.179 H 121.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#CEF159
RGBrgb(206, 241, 89)
HSLhsl(74, 84%, 65%)
HSVhsv(74, 63%, 95%)
CMYKcmyk(14.5%, 0%, 63.1%, 5.5%)
CIE-LABlab(90.21, -31.97, 67.25)
CIE-LCHlch(90.21, 74.46, 115.42°)
OKLaboklab(90.46% -0.0928 0.1534)
OKLCHoklch(90.46% 0.179 121.2)
XYZxyz(58.7128, 76.7537, 21.1711)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF159 #7C59F1
analogous
#F1C859 #CEF159 #82F159
triadic
#CEF159 #59CEF1 #F159CE
tetradic
#CEF159 #59F1C8 #7C59F1 #F15982
square
#CEF159 #59F1C8 #7C59F1 #F15982
split-complementary
#CEF159 #5982F1 #C859F1
monochromatic
#97BF10 #BDEC21 #CEF159 #DFF691 #EFFBCA

Accessibility & contrast

On white

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

On black

16.35
#CEF159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF159
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF159#FFFFFF#000000##000000
##CEF1591.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE445
Deuteranopia (green-blind)
#FBE364
Tritanopia (blue-blind)
#D8E5D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cef159;
/* rgb */ color: rgb(206, 241, 89);
/* oklch */ color: oklch(90.5% 0.179 121.2);
Tailwind
colors: {
  custom: {
    50: '#e0f58e',
    500: '#cef159',
    950: '#000000',
  },
}
SCSS
$custom: #cef159;
$custom-light: #e0f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef159",
  "rgb": {
    "r": 206,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 73.816,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90462,
    "c": 0.17926,
    "h": 121.2
  },
  "luminance": 0.76754
}

Semantic roles & 50–950 ramp

primary
#CEF159
secondary
#5131BE
accent
#05E137
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CEF159

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

Preview Lab → · Contrast checker → · Palette generator →

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