#CFE27F#CFE27F

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

Color values

HEX#CFE27F
RGBrgb(207, 226, 127)
HSLhsl(72, 63%, 69%)
HSVhsv(72, 44%, 89%)
CMYKcmyk(8.4%, 0%, 43.8%, 11.4%)
CIE-LABlab(86.60, -21.18, 46.12)
CIE-LCHlch(86.60, 50.75, 114.67°)
OKLaboklab(87.71% -0.0591 0.1113)
OKLCHoklch(87.71% 0.126 118)
XYZxyz(56.7596, 69.1908, 30.4396)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE27F #927FE2
analogous
#E2C47F #CFE27F #9EE27F
triadic
#CFE27F #7FCFE2 #E27FCF
tetradic
#CFE27F #7FE2C4 #927FE2 #E27F9E
square
#CFE27F #7FE2C4 #927FE2 #E27F9E
split-complementary
#CFE27F #7F9EE2 #C47FE2
monochromatic
#A0BC2B #BCD74D #CFE27F #E2EDB1 #F4F9E3

Accessibility & contrast

On white

1.42
#CFE27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#CFE27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE27F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE27F#FFFFFF#000000##000000
##CFE27F1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED977
Deuteranopia (green-blind)
#ECD984
Tritanopia (blue-blind)
#D8D9CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cfe27f;
/* rgb */ color: rgb(207, 226, 127);
/* oklch */ color: oklch(87.7% 0.126 118.0);
Tailwind
colors: {
  custom: {
    50: '#dfeba6',
    500: '#cfe27f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe27f;
$custom-light: #dfeba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe27f",
  "rgb": {
    "r": 207,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 71.515,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87707,
    "c": 0.12599,
    "h": 118
  },
  "luminance": 0.6919
}

Semantic roles & 50–950 ramp

primary
#CFE27F
secondary
#614CBA
accent
#1BCB3C
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE27F

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

Preview Lab → · Contrast checker → · Palette generator →

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