#6BA522#6BA522

#6BA522 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.8% C 0.167 H 131.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6BA522
RGBrgb(107, 165, 34)
HSLhsl(87, 66%, 39%)
HSVhsv(87, 79%, 65%)
CMYKcmyk(35.2%, 0%, 79.4%, 35.3%)
CIE-LABlab(61.78, -38.84, 56.80)
CIE-LCHlch(61.78, 68.81, 124.36°)
OKLaboklab(65.75% -0.1103 0.1255)
OKLCHoklch(65.75% 0.167 131.3)
XYZxyz(19.8071, 30.1508, 6.2891)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA522 #5C22A5
analogous
#A59E22 #6BA522 #2AA522
triadic
#6BA522 #226BA5 #A5226B
tetradic
#6BA522 #22A59E #5C22A5 #A5222A
square
#6BA522 #22A59E #5C22A5 #A5222A
split-complementary
#6BA522 #222AA5 #9E22A5
monochromatic
#29400D #4A7218 #6BA522 #8CD430 #A8DF63

Accessibility & contrast

On white

2.99
#6BA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#6BA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA522
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA522#FFFFFF#000000##000000
##6BA5221.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#6D9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba522;
/* rgb */ color: rgb(107, 165, 34);
/* oklch */ color: oklch(65.8% 0.167 131.3);
Tailwind
colors: {
  custom: {
    50: '#9ac069',
    500: '#6ba522',
    950: '#000000',
  },
}
SCSS
$custom: #6ba522;
$custom-light: #9ac069;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba522",
  "rgb": {
    "r": 107,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 86.565,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.16703,
    "h": 131.3
  },
  "luminance": 0.30152
}

Semantic roles & 50–950 ramp

primary
#6BA522
secondary
#8C5FC4
accent
#3FE98A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA522

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

Preview Lab → · Contrast checker → · Palette generator →

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