#6CE227#6CE227

#6CE227 is a light, highly saturated yellow-green. Relative luminance 0.577; OKLCH L 81.2% C 0.235 H 137.3°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#6CE227
RGBrgb(108, 226, 39)
HSLhsl(98, 76%, 52%)
HSVhsv(98, 83%, 89%)
CMYKcmyk(52.2%, 0%, 82.7%, 11.4%)
CIE-LABlab(80.59, -62.27, 72.59)
CIE-LCHlch(80.59, 95.64, 130.62°)
OKLaboklab(81.21% -0.1729 0.1594)
OKLCHoklch(81.21% 0.235 137.3)
XYZxyz(33.7458, 57.7247, 11.2828)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CE227 #9D27E2
analogous
#CAE227 #6CE227 #27E240
triadic
#6CE227 #276CE2 #E2276C
tetradic
#6CE227 #27CAE2 #9D27E2 #E24027
square
#6CE227 #27CAE2 #9D27E2 #E24027
split-complementary
#6CE227 #4027E2 #E227CA
monochromatic
#397E11 #52B418 #6CE227 #91E95D #B5F093

Accessibility & contrast

On white

1.67
#6CE227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#6CE227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CE227
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CE227#FFFFFF#000000##000000
##6CE2271.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACE00
Deuteranopia (green-blind)
#DBC440
Tritanopia (blue-blind)
#64DAC1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #6ce227;
/* rgb */ color: rgb(108, 226, 39);
/* oklch */ color: oklch(81.2% 0.235 137.3);
Tailwind
colors: {
  custom: {
    50: '#a1ec73',
    500: '#6ce227',
    950: '#000000',
  },
}
SCSS
$custom: #6ce227;
$custom-light: #a1ec73;
$custom-dark: #000000;
JSON
{
  "hex": "#6ce227",
  "rgb": {
    "r": 108,
    "g": 226,
    "b": 39
  },
  "hsl": {
    "h": 97.861,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.23519,
    "h": 137.3
  },
  "luminance": 0.57727
}

Semantic roles & 50–950 ramp

primary
#6CE227
secondary
#632885
accent
#35F3AD
background
#FDFFFB
surface
#F7FEF1
border
#D0D6CB
text
#101609
muted
#81857D

Preview Lab

Preview with #6CE227

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

Preview Lab → · Contrast checker → · Palette generator →

#6CE227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva