#6FB228#6FB228

#6FB228 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#6FB228
RGBrgb(111, 178, 40)
HSLhsl(89, 63%, 43%)
HSVhsv(89, 78%, 70%)
CMYKcmyk(37.6%, 0%, 77.5%, 30.2%)
CIE-LABlab(66.04, -42.67, 58.99)
CIE-LCHlch(66.04, 72.81, 125.88°)
OKLaboklab(69.29% -0.1205 0.1309)
OKLCHoklch(69.29% 0.178 132.6)
XYZxyz(22.8586, 35.3725, 7.6302)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FB228 #6B28B2
analogous
#B2B028 #6FB228 #2AB228
triadic
#6FB228 #286FB2 #B2286F
tetradic
#6FB228 #28B2B0 #6B28B2 #B2282A
square
#6FB228 #28B2B0 #6B28B2 #B2282A
split-complementary
#6FB228 #282AB2 #B028B2
monochromatic
#314E12 #50801D #6FB228 #8ED543 #ACE075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6FB228#FFFFFF#000000##000000
##6FB2281.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)
#BAA401
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#70AB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6fb228;
/* rgb */ color: rgb(111, 178, 40);
/* oklch */ color: oklch(69.3% 0.178 132.6);
Tailwind
colors: {
  custom: {
    50: '#9ec96d',
    500: '#6fb228',
    950: '#000000',
  },
}
SCSS
$custom: #6fb228;
$custom-light: #9ec96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6fb228",
  "rgb": {
    "r": 111,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 89.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69292,
    "c": 0.17789,
    "h": 132.6
  },
  "luminance": 0.35373
}

Semantic roles & 50–950 ramp

primary
#6FB228
secondary
#9A6FC7
accent
#41E692
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6FB228

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

Preview Lab → · Contrast checker → · Palette generator →

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