#6BA52F#6BA52F

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

Color values

HEX#6BA52F
RGBrgb(107, 165, 47)
HSLhsl(89, 56%, 42%)
HSVhsv(89, 72%, 65%)
CMYKcmyk(35.2%, 0%, 71.5%, 35.3%)
CIE-LABlab(61.86, -38.06, 52.37)
CIE-LCHlch(61.86, 64.74, 126.01°)
OKLaboklab(65.84% -0.1072 0.1182)
OKLCHoklch(65.84% 0.16 132.2)
XYZxyz(20.0314, 30.2405, 7.4703)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA52F #692FA5
analogous
#A5A42F #6BA52F #30A52F
triadic
#6BA52F #2F6BA5 #A52F6B
tetradic
#6BA52F #2FA5A4 #692FA5 #A52F30
square
#6BA52F #2FA5A4 #692FA5 #A52F30
split-complementary
#6BA52F #2F30A5 #A42FA5
monochromatic
#2D4614 #4C7521 #6BA52F #8ACB47 #A8D876

Accessibility & contrast

On white

2.98
#6BA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#6BA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA52F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA52F#FFFFFF#000000##000000
##6BA52F1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#6C9E8E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba52f;
/* rgb */ color: rgb(107, 165, 47);
/* oklch */ color: oklch(65.8% 0.160 132.2);
Tailwind
colors: {
  custom: {
    50: '#9ac06f',
    500: '#6ba52f',
    950: '#000000',
  },
}
SCSS
$custom: #6ba52f;
$custom-light: #9ac06f;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba52f",
  "rgb": {
    "r": 107,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 89.492,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.15954,
    "h": 132.2
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#6BA52F
secondary
#9770C0
accent
#49DF93
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6BA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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