#6BA71E#6BA71E

#6BA71E is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.2% C 0.171 H 131.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6BA71E
RGBrgb(107, 167, 30)
HSLhsl(86, 70%, 39%)
HSVhsv(86, 82%, 65%)
CMYKcmyk(35.9%, 0%, 82%, 34.5%)
CIE-LABlab(62.39, -39.90, 58.52)
CIE-LCHlch(62.39, 70.83, 124.29°)
OKLaboklab(66.24% -0.1134 0.1285)
OKLCHoklch(66.24% 0.171 131.4)
XYZxyz(20.1163, 30.8562, 6.1240)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA71E #5A1EA7
analogous
#A79E1E #6BA71E #27A71E
triadic
#6BA71E #1E6BA7 #A71E6B
tetradic
#6BA71E #1EA79E #5A1EA7 #A71E27
square
#6BA71E #1EA79E #5A1EA7 #A71E27
split-complementary
#6BA71E #1E27A7 #9E1EA7
monochromatic
#293F0B #4A7315 #6BA71E #8CD92A #A8E25D

Accessibility & contrast

On white

2.93
#6BA71E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#6BA71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA71E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA71E#FFFFFF#000000##000000
##6BA71E1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#6DA08E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6ba71e;
/* rgb */ color: rgb(107, 167, 30);
/* oklch */ color: oklch(66.2% 0.171 131.4);
Tailwind
colors: {
  custom: {
    50: '#9bc167',
    500: '#6ba71e',
    950: '#000000',
  },
}
SCSS
$custom: #6ba71e;
$custom-light: #9bc167;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba71e",
  "rgb": {
    "r": 107,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 86.277,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.17134,
    "h": 131.4
  },
  "luminance": 0.30857
}

Semantic roles & 50–950 ramp

primary
#6BA71E
secondary
#8A5BC6
accent
#3BEC89
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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