#CFE381#CFE381

#CFE381 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 88.0% C 0.125 H 118.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#CFE381
RGBrgb(207, 227, 129)
HSLhsl(72, 64%, 70%)
HSVhsv(72, 43%, 89%)
CMYKcmyk(8.8%, 0%, 43.2%, 11%)
CIE-LABlab(86.89, -21.45, 45.51)
CIE-LCHlch(86.89, 50.32, 115.24°)
OKLaboklab(87.95% -0.0597 0.11)
OKLCHoklch(87.95% 0.125 118.5)
XYZxyz(57.1640, 69.7889, 31.2238)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE381 #9581E3
analogous
#E3C681 #CFE381 #9EE381
triadic
#CFE381 #81CFE3 #E381CF
tetradic
#CFE381 #81E3C6 #9581E3 #E3819E
square
#CFE381 #81E3C6 #9581E3 #E3819E
split-complementary
#CFE381 #819EE3 #C681E3
monochromatic
#A1BF2A #BCD84F #CFE381 #E2EEB3 #F5F9E5

Accessibility & contrast

On white

1.40
#CFE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#CFE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE381
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE381#FFFFFF#000000##000000
##CFE3811.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED979
Deuteranopia (green-blind)
#ECDA86
Tritanopia (blue-blind)
#D8DACC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe381;
/* rgb */ color: rgb(207, 227, 129);
/* oklch */ color: oklch(88.0% 0.125 118.5);
Tailwind
colors: {
  custom: {
    50: '#dfeba7',
    500: '#cfe381',
    950: '#000000',
  },
}
SCSS
$custom: #cfe381;
$custom-light: #dfeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe381",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 72.245,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87951,
    "c": 0.12519,
    "h": 118.5
  },
  "luminance": 0.69789
}

Semantic roles & 50–950 ramp

primary
#CFE381
secondary
#644DBB
accent
#1ACB3E
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #CFE381

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

Preview Lab → · Contrast checker → · Palette generator →

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