#6BA226#6BA226

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

Color values

HEX#6BA226
RGBrgb(107, 162, 38)
HSLhsl(87, 62%, 39%)
HSVhsv(87, 77%, 64%)
CMYKcmyk(34%, 0%, 76.5%, 36.5%)
CIE-LABlab(60.87, -37.30, 54.65)
CIE-LCHlch(60.87, 66.17, 124.32°)
OKLaboklab(65.02% -0.1058 0.1216)
OKLCHoklch(65.02% 0.161 131)
XYZxyz(19.3334, 29.1057, 6.4327)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA226 #5D26A2
analogous
#A29B26 #6BA226 #2DA226
triadic
#6BA226 #266BA2 #A2266B
tetradic
#6BA226 #26A29B #5D26A2 #A2262D
square
#6BA226 #26A29B #5D26A2 #A2262D
split-complementary
#6BA226 #262DA2 #9B26A2
monochromatic
#2A3F0F #4A701A #6BA226 #8BD035 #A8DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA226#FFFFFF#000000##000000
##6BA2261.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)
#A99608
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba226;
/* rgb */ color: rgb(107, 162, 38);
/* oklch */ color: oklch(65.0% 0.161 131.0);
Tailwind
colors: {
  custom: {
    50: '#9abe6a',
    500: '#6ba226',
    950: '#000000',
  },
}
SCSS
$custom: #6ba226;
$custom-light: #9abe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba226",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 86.613,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.16119,
    "h": 131
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#6BA226
secondary
#8D63C1
accent
#43E58B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA226

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

Preview Lab → · Contrast checker → · Palette generator →

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