#6FB227#6FB227

#6FB227 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.3% C 0.178 H 132.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6FB227
RGBrgb(111, 178, 39)
HSLhsl(89, 64%, 43%)
HSVhsv(89, 78%, 70%)
CMYKcmyk(37.6%, 0%, 78.1%, 30.2%)
CIE-LABlab(66.03, -42.73, 59.30)
CIE-LCHlch(66.03, 73.09, 125.77°)
OKLaboklab(69.29% -0.1207 0.1314)
OKLCHoklch(69.29% 0.178 132.6)
XYZxyz(22.8419, 35.3658, 7.5418)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FB227 #6A27B2
analogous
#B2AF27 #6FB227 #29B227
triadic
#6FB227 #276FB2 #B2276F
tetradic
#6FB227 #27B2AF #6A27B2 #B22729
square
#6FB227 #27B2AF #6A27B2 #B22729
split-complementary
#6FB227 #2729B2 #AF27B2
monochromatic
#304E11 #50801C #6FB227 #8ED541 #ACE073

Accessibility & contrast

On white

2.60
#6FB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#6FB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FB227
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FB227#FFFFFF#000000##000000
##6FB2271.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#70AB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6fb227;
/* rgb */ color: rgb(111, 178, 39);
/* oklch */ color: oklch(69.3% 0.178 132.6);
Tailwind
colors: {
  custom: {
    50: '#9ec96d',
    500: '#6fb227',
    950: '#000000',
  },
}
SCSS
$custom: #6fb227;
$custom-light: #9ec96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6fb227",
  "rgb": {
    "r": 111,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 88.921,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69286,
    "c": 0.17841,
    "h": 132.6
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#6FB227
secondary
#996DC8
accent
#41E791
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6FB227

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

Preview Lab → · Contrast checker → · Palette generator →

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