#6BA91F#6BA91F

#6BA91F is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.7% C 0.173 H 131.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6BA91F
RGBrgb(107, 169, 31)
HSLhsl(87, 69%, 39%)
HSVhsv(87, 82%, 66%)
CMYKcmyk(36.7%, 0%, 81.7%, 33.7%)
CIE-LABlab(63.01, -40.72, 58.81)
CIE-LCHlch(63.01, 71.53, 124.70°)
OKLaboklab(66.75% -0.1155 0.1292)
OKLCHoklch(66.75% 0.173 131.8)
XYZxyz(20.4985, 31.5998, 6.3154)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA91F #5D1FA9
analogous
#A9A21F #6BA91F #26A91F
triadic
#6BA91F #1F6BA9 #A91F6B
tetradic
#6BA91F #1FA9A2 #5D1FA9 #A91F26
square
#6BA91F #1FA9A2 #5D1FA9 #A91F26
split-complementary
#6BA91F #1F26A9 #A21FA9
monochromatic
#2A420C #4A7516 #6BA91F #8BD82D #A8E260

Accessibility & contrast

On white

2.87
#6BA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#6BA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA91F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA91F#FFFFFF#000000##000000
##6BA91F1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#6DA290
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ba91f;
/* rgb */ color: rgb(107, 169, 31);
/* oklch */ color: oklch(66.7% 0.173 131.8);
Tailwind
colors: {
  custom: {
    50: '#9bc368',
    500: '#6ba91f',
    950: '#000000',
  },
}
SCSS
$custom: #6ba91f;
$custom-light: #9bc368;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba91f",
  "rgb": {
    "r": 107,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 86.957,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66749,
    "c": 0.17333,
    "h": 131.8
  },
  "luminance": 0.31601
}

Semantic roles & 50–950 ramp

primary
#6BA91F
secondary
#8D5DC7
accent
#3CEC8B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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