#CEF781#CEF781

#CEF781 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.2% C 0.152 H 125.1°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#CEF781
RGBrgb(206, 247, 129)
HSLhsl(81, 88%, 74%)
HSVhsv(81, 48%, 97%)
CMYKcmyk(16.6%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.23, -31.32, 52.07)
CIE-LCHlch(92.23, 60.77, 121.02°)
OKLaboklab(92.22% -0.0875 0.1246)
OKLCHoklch(92.22% 0.152 125.1)
XYZxyz(62.6767, 81.2278, 33.1411)
Luminance0.8123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF781 #AA81F7
analogous
#F7E581 #CEF781 #93F781
triadic
#CEF781 #81CEF7 #F781CE
tetradic
#CEF781 #81F7E5 #AA81F7 #F78193
square
#CEF781 #81F7E5 #AA81F7 #F78193
split-complementary
#CEF781 #8193F7 #E581F7
monochromatic
#A1EE0F #B8F347 #CEF781 #E4FBBB #F4FDE2

Accessibility & contrast

On white

1.22
#CEF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#CEF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF781
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF781#FFFFFF#000000##000000
##CEF7811.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FCE888
Tritanopia (blue-blind)
#D5EDDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef781;
/* rgb */ color: rgb(206, 247, 129);
/* oklch */ color: oklch(92.2% 0.152 125.1);
Tailwind
colors: {
  custom: {
    50: '#dffaa8',
    500: '#cef781',
    950: '#000000',
  },
}
SCSS
$custom: #cef781;
$custom-light: #dffaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cef781",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 80.847,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92218,
    "c": 0.15228,
    "h": 125.1
  },
  "luminance": 0.81228
}

Semantic roles & 50–950 ramp

primary
#CEF781
secondary
#7949D4
accent
#01E550
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CEF781

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

Preview Lab → · Contrast checker → · Palette generator →

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