#CFE781#CFE781

#CFE781 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.8% C 0.130 H 120.0°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#CFE781
RGBrgb(207, 231, 129)
HSLhsl(74, 68%, 71%)
HSVhsv(74, 44%, 91%)
CMYKcmyk(10.4%, 0%, 44.2%, 9.4%)
CIE-LABlab(87.97, -23.39, 46.85)
CIE-LCHlch(87.97, 52.37, 116.53°)
OKLaboklab(88.81% -0.0652 0.113)
OKLCHoklch(88.81% 0.13 120)
XYZxyz(58.2707, 72.0024, 31.5927)
Luminance0.7200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE781 #9981E7
analogous
#E7CC81 #CFE781 #9CE781
triadic
#CFE781 #81CFE7 #E781CF
tetradic
#CFE781 #81E7CC #9981E7 #E7819C
square
#CFE781 #81E7CC #9981E7 #E7819C
split-complementary
#CFE781 #819CE7 #CC81E7
monochromatic
#A2C826 #BBDD4E #CFE781 #E3F1B4 #F5FAE5

Accessibility & contrast

On white

1.36
#CFE781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#CFE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE781
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE781#FFFFFF#000000##000000
##CFE7811.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD79
Deuteranopia (green-blind)
#EFDD86
Tritanopia (blue-blind)
#D7DECF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe781;
/* rgb */ color: rgb(207, 231, 129);
/* oklch */ color: oklch(88.8% 0.130 120.0);
Tailwind
colors: {
  custom: {
    50: '#dfeea7',
    500: '#cfe781',
    950: '#000000',
  },
}
SCSS
$custom: #cfe781;
$custom-light: #dfeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe781",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 74.118,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88813,
    "c": 0.13048,
    "h": 120
  },
  "luminance": 0.72002
}

Semantic roles & 50–950 ramp

primary
#CFE781
secondary
#684DC0
accent
#16D041
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151610
muted
#848580

Preview Lab

Preview with #CFE781

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

Preview Lab → · Contrast checker → · Palette generator →

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