#6BA227#6BA227

#6BA227 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.0% C 0.161 H 131.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6BA227
RGBrgb(107, 162, 39)
HSLhsl(87, 61%, 39%)
HSVhsv(87, 76%, 64%)
CMYKcmyk(34%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.88, -37.24, 54.31)
CIE-LCHlch(60.88, 65.86, 124.44°)
OKLaboklab(65.02% -0.1056 0.121)
OKLCHoklch(65.02% 0.161 131.1)
XYZxyz(19.3498, 29.1122, 6.5188)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA227 #5E27A2
analogous
#A29C27 #6BA227 #2EA227
triadic
#6BA227 #276BA2 #A2276B
tetradic
#6BA227 #27A29C #5E27A2 #A2272E
square
#6BA227 #27A29C #5E27A2 #A2272E
split-complementary
#6BA227 #272EA2 #9C27A2
monochromatic
#2A3F0F #4A711B #6BA227 #8BCF37 #A8DB69

Accessibility & contrast

On white

3.08
#6BA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#6BA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA227
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA227#FFFFFF#000000##000000
##6BA2271.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960B
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba227;
/* rgb */ color: rgb(107, 162, 39);
/* oklch */ color: oklch(65.0% 0.161 131.1);
Tailwind
colors: {
  custom: {
    50: '#9abe6b',
    500: '#6ba227',
    950: '#000000',
  },
}
SCSS
$custom: #6ba227;
$custom-light: #9abe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba227",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 86.829,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65023,
    "c": 0.16062,
    "h": 131.1
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

primary
#6BA227
secondary
#8D64C1
accent
#43E48B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA227

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

Preview Lab → · Contrast checker → · Palette generator →

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