#6FA71F#6FA71F

#6FA71F is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.5% C 0.169 H 130.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6FA71F
RGBrgb(111, 167, 31)
HSLhsl(85, 69%, 39%)
HSVhsv(85, 81%, 65%)
CMYKcmyk(33.5%, 0%, 81.4%, 34.5%)
CIE-LABlab(62.60, -38.37, 58.52)
CIE-LCHlch(62.60, 69.98, 123.25°)
OKLaboklab(66.47% -0.1094 0.1285)
OKLCHoklch(66.47% 0.169 130.4)
XYZxyz(20.6215, 31.1151, 6.2154)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA71F #571FA7
analogous
#A79B1F #6FA71F #2BA71F
triadic
#6FA71F #1F6FA7 #A71F6F
tetradic
#6FA71F #1FA79B #571FA7 #A71F2B
square
#6FA71F #1FA79B #571FA7 #A71F2B
split-complementary
#6FA71F #1F2BA7 #9B1FA7
monochromatic
#2A400C #4D7315 #6FA71F #91D82B #ACE15F

Accessibility & contrast

On white

2.91
#6FA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#6FA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA71F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA71F#FFFFFF#000000##000000
##6FA71F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#72A08E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6fa71f;
/* rgb */ color: rgb(111, 167, 31);
/* oklch */ color: oklch(66.5% 0.169 130.4);
Tailwind
colors: {
  custom: {
    50: '#9dc168',
    500: '#6fa71f',
    950: '#000000',
  },
}
SCSS
$custom: #6fa71f;
$custom-light: #9dc168;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa71f",
  "rgb": {
    "r": 111,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 84.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66474,
    "c": 0.1688,
    "h": 130.4
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#6FA71F
secondary
#885CC6
accent
#3CEC84
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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