#6BAB2A#6BAB2A

#6BAB2A is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.3% C 0.170 H 132.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6BAB2A
RGBrgb(107, 171, 42)
HSLhsl(90, 61%, 42%)
HSVhsv(90, 75%, 67%)
CMYKcmyk(37.4%, 0%, 75.4%, 32.9%)
CIE-LABlab(63.69, -41.00, 56.00)
CIE-LCHlch(63.69, 69.40, 126.21°)
OKLaboklab(67.32% -0.1155 0.125)
OKLCHoklch(67.32% 0.17 132.7)
XYZxyz(21.0439, 32.4179, 7.3385)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BAB2A #6A2AAB
analogous
#ABAA2A #6BAB2A #2BAB2A
triadic
#6BAB2A #2A6BAB #AB2A6B
tetradic
#6BAB2A #2AABAA #6A2AAB #AB2A2B
square
#6BAB2A #2AABAA #6A2AAB #AB2A2B
split-complementary
#6BAB2A #2A2BAB #AA2AAB
monochromatic
#2E4912 #4C7A1E #6BAB2A #8AD142 #A8DD73

Accessibility & contrast

On white

2.81
#6BAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#6BAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BAB2A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BAB2A#FFFFFF#000000##000000
##6BAB2A1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#6CA492
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6bab2a;
/* rgb */ color: rgb(107, 171, 42);
/* oklch */ color: oklch(67.3% 0.170 132.7);
Tailwind
colors: {
  custom: {
    50: '#9bc46d',
    500: '#6bab2a',
    950: '#000000',
  },
}
SCSS
$custom: #6bab2a;
$custom-light: #9bc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#6bab2a",
  "rgb": {
    "r": 107,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 89.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.17023,
    "h": 132.7
  },
  "luminance": 0.32419
}

Semantic roles & 50–950 ramp

primary
#6BAB2A
secondary
#986DC4
accent
#44E493
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1308
muted
#7E827B

Preview Lab

Preview with #6BAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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