#CFE281#CFE281

#CFE281 is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.7% C 0.124 H 118.1°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#CFE281
RGBrgb(207, 226, 129)
HSLhsl(72, 63%, 70%)
HSVhsv(72, 43%, 89%)
CMYKcmyk(8.4%, 0%, 42.9%, 11.4%)
CIE-LABlab(86.62, -20.97, 45.18)
CIE-LCHlch(86.62, 49.81, 114.90°)
OKLaboklab(87.74% -0.0584 0.1093)
OKLCHoklch(87.74% 0.124 118.1)
XYZxyz(56.8913, 69.2435, 31.1329)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE281 #9481E2
analogous
#E2C581 #CFE281 #9EE281
triadic
#CFE281 #81CFE2 #E281CF
tetradic
#CFE281 #81E2C5 #9481E2 #E2819E
square
#CFE281 #81E2C5 #9481E2 #E2819E
split-complementary
#CFE281 #819EE2 #C581E2
monochromatic
#A1BD2C #BCD74F #CFE281 #E2EDB3 #F5F9E4

Accessibility & contrast

On white

1.41
#CFE281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#CFE281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE281
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE281#FFFFFF#000000##000000
##CFE2811.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD979
Deuteranopia (green-blind)
#EBD986
Tritanopia (blue-blind)
#D8D9CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe281;
/* rgb */ color: rgb(207, 226, 129);
/* oklch */ color: oklch(87.7% 0.124 118.1);
Tailwind
colors: {
  custom: {
    50: '#dfeba7',
    500: '#cfe281',
    950: '#000000',
  },
}
SCSS
$custom: #cfe281;
$custom-light: #dfeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe281",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 71.753,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87736,
    "c": 0.12388,
    "h": 118.1
  },
  "luminance": 0.69243
}

Semantic roles & 50–950 ramp

primary
#CFE281
secondary
#634EBA
accent
#1BCA3D
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#151610
muted
#848480

Preview Lab

Preview with #CFE281

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

Preview Lab → · Contrast checker → · Palette generator →

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