#CEF381#CEF381

#CEF381 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.3% C 0.147 H 124.1°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#CEF381
RGBrgb(206, 243, 129)
HSLhsl(79, 83%, 73%)
HSVhsv(79, 47%, 95%)
CMYKcmyk(15.2%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.15, -29.46, 50.75)
CIE-LCHlch(91.15, 58.68, 120.13°)
OKLaboklab(91.35% -0.0823 0.1217)
OKLCHoklch(91.35% 0.147 124.1)
XYZxyz(61.4666, 78.8076, 32.7378)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF381 #A681F3
analogous
#F3DF81 #CEF381 #95F381
triadic
#CEF381 #81CEF3 #F381CE
tetradic
#CEF381 #81F3DF #A681F3 #F38195
square
#CEF381 #81F3DF #A681F3 #F38195
split-complementary
#CEF381 #8195F3 #DF81F3
monochromatic
#A1E416 #B8EE49 #CEF381 #E4F8B9 #F4FCE3

Accessibility & contrast

On white

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

On black

16.76
#CEF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF381
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF381#FFFFFF#000000##000000
##CEF3811.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE777
Deuteranopia (green-blind)
#F9E587
Tritanopia (blue-blind)
#D5E9D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef381;
/* rgb */ color: rgb(206, 243, 129);
/* oklch */ color: oklch(91.3% 0.147 124.1);
Tailwind
colors: {
  custom: {
    50: '#dff7a8',
    500: '#cef381',
    950: '#000000',
  },
}
SCSS
$custom: #cef381;
$custom-light: #dff7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cef381",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 79.474,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91345,
    "c": 0.1469,
    "h": 124.1
  },
  "luminance": 0.78808
}

Semantic roles & 50–950 ramp

primary
#CEF381
secondary
#754ACF
accent
#06DF4D
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF381

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

Preview Lab → · Contrast checker → · Palette generator →

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