#6FAF40#6FAF40

#6FAF40 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.7% C 0.158 H 134.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6FAF40
RGBrgb(111, 175, 64)
HSLhsl(95, 46%, 47%)
HSVhsv(95, 63%, 69%)
CMYKcmyk(36.6%, 0%, 63.4%, 31.4%)
CIE-LABlab(65.29, -39.65, 49.05)
CIE-LCHlch(65.29, 63.07, 128.95°)
OKLaboklab(68.73% -0.1104 0.1134)
OKLCHoklch(68.73% 0.158 134.3)
XYZxyz(22.8105, 34.4086, 10.2891)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FAF40 #8040AF
analogous
#A7AF40 #6FAF40 #40AF49
triadic
#6FAF40 #406FAF #AF406F
tetradic
#6FAF40 #40A7AF #8040AF #AF4940
square
#6FAF40 #40A7AF #8040AF #AF4940
split-complementary
#6FAF40 #4940AF #AF40A7
monochromatic
#36551F #538230 #6FAF40 #8FC765 #AFD792

Accessibility & contrast

On white

2.66
#6FAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#6FAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FAF40
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FAF40#FFFFFF#000000##000000
##6FAF401.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#AD9D49
Tritanopia (blue-blind)
#6FA898
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #6faf40;
/* rgb */ color: rgb(111, 175, 64);
/* oklch */ color: oklch(68.7% 0.158 134.3);
Tailwind
colors: {
  custom: {
    50: '#9dc77a',
    500: '#6faf40',
    950: '#000000',
  },
}
SCSS
$custom: #6faf40;
$custom-light: #9dc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#6faf40",
  "rgb": {
    "r": 111,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 94.595,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.15827,
    "h": 134.3
  },
  "luminance": 0.3441
}

Semantic roles & 50–950 ramp

primary
#6FAF40
secondary
#AA88C3
accent
#52D69E
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0F1309
muted
#7E827B

Preview Lab

Preview with #6FAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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