#6FA81F#6FA81F

#6FA81F is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.7% C 0.170 H 130.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6FA81F
RGBrgb(111, 168, 31)
HSLhsl(85, 69%, 39%)
HSVhsv(85, 82%, 66%)
CMYKcmyk(33.9%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.91, -38.81, 58.80)
CIE-LCHlch(62.91, 70.45, 123.43°)
OKLaboklab(66.73% -0.1106 0.1291)
OKLCHoklch(66.73% 0.17 130.6)
XYZxyz(20.8054, 31.4830, 6.2767)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA81F #581FA8
analogous
#A89D1F #6FA81F #2AA81F
triadic
#6FA81F #1F6FA8 #A81F6F
tetradic
#6FA81F #1FA89D #581FA8 #A81F2A
square
#6FA81F #1FA89D #581FA8 #A81F2A
split-complementary
#6FA81F #1F2AA8 #9D1FA8
monochromatic
#2B410C #4D7415 #6FA81F #91D82C #ACE260

Accessibility & contrast

On white

2.88
#6FA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#6FA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA81F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA81F#FFFFFF#000000##000000
##6FA81F1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#72A18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa81f;
/* rgb */ color: rgb(111, 168, 31);
/* oklch */ color: oklch(66.7% 0.170 130.6);
Tailwind
colors: {
  custom: {
    50: '#9dc268',
    500: '#6fa81f',
    950: '#000000',
  },
}
SCSS
$custom: #6fa81f;
$custom-light: #9dc268;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa81f",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 84.964,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66726,
    "c": 0.17002,
    "h": 130.6
  },
  "luminance": 0.31484
}

Semantic roles & 50–950 ramp

primary
#6FA81F
secondary
#895DC6
accent
#3CEC85
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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