#CEF281#CEF281

#CEF281 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.146 H 123.8°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#CEF281
RGBrgb(206, 242, 129)
HSLhsl(79, 81%, 73%)
HSVhsv(79, 47%, 95%)
CMYKcmyk(14.9%, 0%, 46.7%, 5.1%)
CIE-LABlab(90.88, -28.99, 50.42)
CIE-LCHlch(90.88, 58.16, 119.90°)
OKLaboklab(91.13% -0.0809 0.121)
OKLCHoklch(91.13% 0.146 123.8)
XYZxyz(61.1682, 78.2108, 32.6383)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF281 #A581F2
analogous
#F2DD81 #CEF281 #95F281
triadic
#CEF281 #81CEF2 #F281CE
tetradic
#CEF281 #81F2DD #A581F2 #F28195
square
#CEF281 #81F2DD #A581F2 #F28195
split-complementary
#CEF281 #8195F2 #DD81F2
monochromatic
#A1E117 #B8EC4A #CEF281 #E4F8B8 #F4FCE3

Accessibility & contrast

On white

1.26
#CEF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#CEF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF281
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF281#FFFFFF#000000##000000
##CEF2811.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F8E587
Tritanopia (blue-blind)
#D5E8D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef281;
/* rgb */ color: rgb(206, 242, 129);
/* oklch */ color: oklch(91.1% 0.146 123.8);
Tailwind
colors: {
  custom: {
    50: '#dff6a8',
    500: '#cef281',
    950: '#000000',
  },
}
SCSS
$custom: #cef281;
$custom-light: #dff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cef281",
  "rgb": {
    "r": 206,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 79.115,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91127,
    "c": 0.14555,
    "h": 123.8
  },
  "luminance": 0.78211
}

Semantic roles & 50–950 ramp

primary
#CEF281
secondary
#744ACD
accent
#08DE4C
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CEF281

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

Preview Lab → · Contrast checker → · Palette generator →

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