#6BA81F#6BA81F

#6BA81F is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.5% C 0.172 H 131.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6BA81F
RGBrgb(107, 168, 31)
HSLhsl(87, 69%, 39%)
HSVhsv(87, 82%, 66%)
CMYKcmyk(36.3%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.70, -40.29, 58.53)
CIE-LCHlch(62.70, 71.05, 124.54°)
OKLaboklab(66.5% -0.1144 0.1286)
OKLCHoklch(66.5% 0.172 131.6)
XYZxyz(20.3132, 31.2292, 6.2536)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA81F #5C1FA8
analogous
#A8A11F #6BA81F #27A81F
triadic
#6BA81F #1F6BA8 #A81F6B
tetradic
#6BA81F #1FA8A1 #5C1FA8 #A81F27
square
#6BA81F #1FA8A1 #5C1FA8 #A81F27
split-complementary
#6BA81F #1F27A8 #A11FA8
monochromatic
#29410C #4A7415 #6BA81F #8CD82C #A8E260

Accessibility & contrast

On white

2.90
#6BA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#6BA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA81F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA81F#FFFFFF#000000##000000
##6BA81F1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#6DA18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ba81f;
/* rgb */ color: rgb(107, 168, 31);
/* oklch */ color: oklch(66.5% 0.172 131.6);
Tailwind
colors: {
  custom: {
    50: '#9bc268',
    500: '#6ba81f',
    950: '#000000',
  },
}
SCSS
$custom: #6ba81f;
$custom-light: #9bc268;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba81f",
  "rgb": {
    "r": 107,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 86.715,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.17212,
    "h": 131.6
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#6BA81F
secondary
#8C5DC6
accent
#3CEC8A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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