#6FA51F#6FA51F

#6FA51F is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.0% C 0.166 H 130.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6FA51F
RGBrgb(111, 165, 31)
HSLhsl(84, 68%, 38%)
HSVhsv(84, 81%, 65%)
CMYKcmyk(32.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(61.99, -37.49, 57.96)
CIE-LCHlch(61.99, 69.02, 122.89°)
OKLaboklab(65.97% -0.1071 0.1273)
OKLCHoklch(65.97% 0.166 130.1)
XYZxyz(20.2579, 30.3880, 6.0942)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA51F #551FA5
analogous
#A5981F #6FA51F #2CA51F
triadic
#6FA51F #1F6FA5 #A51F6F
tetradic
#6FA51F #1FA598 #551FA5 #A51F2C
square
#6FA51F #1FA598 #551FA5 #A51F2C
split-complementary
#6FA51F #1F2CA5 #981FA5
monochromatic
#2A3E0C #4C7115 #6FA51F #91D72A #ACE15E

Accessibility & contrast

On white

2.97
#6FA51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#6FA51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA51F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA51F#FFFFFF#000000##000000
##6FA51F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A6942E
Tritanopia (blue-blind)
#729E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6fa51f;
/* rgb */ color: rgb(111, 165, 31);
/* oklch */ color: oklch(66.0% 0.166 130.1);
Tailwind
colors: {
  custom: {
    50: '#9dc067',
    500: '#6fa51f',
    950: '#000000',
  },
}
SCSS
$custom: #6fa51f;
$custom-light: #9dc067;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa51f",
  "rgb": {
    "r": 111,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 84.179,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.16636,
    "h": 130.1
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#6FA51F
secondary
#865BC5
accent
#3DEB83
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA51F

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

Preview Lab → · Contrast checker → · Palette generator →

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