#6AB228#6AB228

#6AB228 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.0% C 0.180 H 133.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6AB228
RGBrgb(106, 178, 40)
HSLhsl(91, 63%, 43%)
HSVhsv(91, 78%, 70%)
CMYKcmyk(40.4%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.79, -44.42, 58.67)
CIE-LCHlch(65.79, 73.59, 127.13°)
OKLaboklab(69.03% -0.1248 0.1303)
OKLCHoklch(69.03% 0.18 133.8)
XYZxyz(22.2469, 35.0570, 7.6015)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AB228 #7028B2
analogous
#AFB228 #6AB228 #28B22B
triadic
#6AB228 #286AB2 #B2286A
tetradic
#6AB228 #28AFB2 #7028B2 #B22B28
square
#6AB228 #28AFB2 #7028B2 #B22B28
split-complementary
#6AB228 #2B28B2 #B228AF
monochromatic
#2E4E12 #4C801D #6AB228 #88D543 #A8E075

Accessibility & contrast

On white

2.62
#6AB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#6AB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AB228
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AB228#FFFFFF#000000##000000
##6AB2281.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A301
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#6AAB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6ab228;
/* rgb */ color: rgb(106, 178, 40);
/* oklch */ color: oklch(69.0% 0.180 133.8);
Tailwind
colors: {
  custom: {
    50: '#9bc96d',
    500: '#6ab228',
    950: '#000000',
  },
}
SCSS
$custom: #6ab228;
$custom-light: #9bc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6ab228",
  "rgb": {
    "r": 106,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 91.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.18048,
    "h": 133.8
  },
  "luminance": 0.35058
}

Semantic roles & 50–950 ramp

primary
#6AB228
secondary
#9D6FC7
accent
#41E697
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1308
muted
#7E827B

Preview Lab

Preview with #6AB228

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

Preview Lab → · Contrast checker → · Palette generator →

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