#6BA01F#6BA01F

#6BA01F is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.5% C 0.162 H 130.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6BA01F
RGBrgb(107, 160, 31)
HSLhsl(85, 68%, 37%)
HSVhsv(85, 81%, 63%)
CMYKcmyk(33.1%, 0%, 80.6%, 37.3%)
CIE-LABlab(60.22, -36.78, 56.26)
CIE-LCHlch(60.22, 67.22, 123.18°)
OKLaboklab(64.47% -0.1049 0.1239)
OKLCHoklch(64.47% 0.162 130.3)
XYZxyz(18.8814, 28.3657, 5.7764)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA01F #541FA0
analogous
#A0941F #6BA01F #2BA01F
triadic
#6BA01F #1F6BA0 #A01F6B
tetradic
#6BA01F #1FA094 #541FA0 #A01F2B
square
#6BA01F #1FA094 #541FA0 #A01F2B
split-complementary
#6BA01F #1F2BA0 #941FA0
monochromatic
#26390B #496D15 #6BA01F #8DD329 #A9DF5A

Accessibility & contrast

On white

3.15
#6BA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#6BA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA01F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA01F#FFFFFF#000000##000000
##6BA01F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#6E9988
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6ba01f;
/* rgb */ color: rgb(107, 160, 31);
/* oklch */ color: oklch(64.5% 0.162 130.3);
Tailwind
colors: {
  custom: {
    50: '#9abc67',
    500: '#6ba01f',
    950: '#000000',
  },
}
SCSS
$custom: #6ba01f;
$custom-light: #9abc67;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba01f",
  "rgb": {
    "r": 107,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 84.651,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64469,
    "c": 0.16231,
    "h": 130.3
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

primary
#6BA01F
secondary
#8458C3
accent
#3DEA84
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #6BA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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