#6BA622#6BA622

#6BA622 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.0% C 0.168 H 131.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6BA622
RGBrgb(107, 166, 34)
HSLhsl(87, 66%, 39%)
HSVhsv(87, 80%, 65%)
CMYKcmyk(35.5%, 0%, 79.5%, 34.9%)
CIE-LABlab(62.09, -39.28, 57.09)
CIE-LCHlch(62.09, 69.29, 124.53°)
OKLaboklab(66.01% -0.1114 0.1261)
OKLCHoklch(66.01% 0.168 131.5)
XYZxyz(19.9882, 30.5129, 6.3495)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA622 #5D22A6
analogous
#A69F22 #6BA622 #29A622
triadic
#6BA622 #226BA6 #A6226B
tetradic
#6BA622 #22A69F #5D22A6 #A62229
square
#6BA622 #22A69F #5D22A6 #A62229
split-complementary
#6BA622 #2229A6 #9F22A6
monochromatic
#2A400D #4A7318 #6BA622 #8BD530 #A8DF63

Accessibility & contrast

On white

2.96
#6BA622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#6BA622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA622
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA622#FFFFFF#000000##000000
##6BA6221.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A59531
Tritanopia (blue-blind)
#6D9F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ba622;
/* rgb */ color: rgb(107, 166, 34);
/* oklch */ color: oklch(66.0% 0.168 131.5);
Tailwind
colors: {
  custom: {
    50: '#9ac169',
    500: '#6ba622',
    950: '#000000',
  },
}
SCSS
$custom: #6ba622;
$custom-light: #9ac169;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba622",
  "rgb": {
    "r": 107,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 86.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.16826,
    "h": 131.5
  },
  "luminance": 0.30514
}

Semantic roles & 50–950 ramp

primary
#6BA622
secondary
#8D5FC4
accent
#3FE98B
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA622

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

Preview Lab → · Contrast checker → · Palette generator →

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