#6FA42F#6FA42F

#6FA42F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.8% C 0.156 H 130.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6FA42F
RGBrgb(111, 164, 47)
HSLhsl(87, 55%, 41%)
HSVhsv(87, 71%, 64%)
CMYKcmyk(32.3%, 0%, 71.3%, 35.7%)
CIE-LABlab(61.77, -36.13, 52.35)
CIE-LCHlch(61.77, 63.60, 124.61°)
OKLaboklab(65.82% -0.1022 0.1181)
OKLCHoklch(65.82% 0.156 130.9)
XYZxyz(20.3439, 30.1350, 7.4335)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA42F #642FA4
analogous
#A49F2F #6FA42F #35A42F
triadic
#6FA42F #2F6FA4 #A42F6F
tetradic
#6FA42F #2FA49F #642FA4 #A42F35
square
#6FA42F #2FA49F #642FA4 #A42F35
split-complementary
#6FA42F #2F35A4 #9F2FA4
monochromatic
#2F4514 #4F7421 #6FA42F #8ECA46 #ABD876

Accessibility & contrast

On white

2.99
#6FA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#6FA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA42F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA42F#FFFFFF#000000##000000
##6FA42F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981C
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#719D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6fa42f;
/* rgb */ color: rgb(111, 164, 47);
/* oklch */ color: oklch(65.8% 0.156 130.9);
Tailwind
colors: {
  custom: {
    50: '#9cbf6f',
    500: '#6fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #6fa42f;
$custom-light: #9cbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa42f",
  "rgb": {
    "r": 111,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 87.179,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65823,
    "c": 0.15614,
    "h": 130.9
  },
  "luminance": 0.30136
}

Semantic roles & 50–950 ramp

primary
#6FA42F
secondary
#946FC0
accent
#49DF8D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1208
muted
#7E817B

Preview Lab

Preview with #6FA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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