#6FA540#6FA540

#6FA540 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.2% C 0.145 H 132.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6FA540
RGBrgb(111, 165, 64)
HSLhsl(92, 44%, 45%)
HSVhsv(92, 61%, 65%)
CMYKcmyk(32.7%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.22, -35.19, 45.65)
CIE-LCHlch(62.22, 57.63, 127.63°)
OKLaboklab(66.23% -0.0982 0.1061)
OKLCHoklch(66.23% 0.145 132.8)
XYZxyz(20.9358, 30.6592, 9.6642)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA540 #7640A5
analogous
#A2A540 #6FA540 #40A543
triadic
#6FA540 #406FA5 #A5406F
tetradic
#6FA540 #40A2A5 #7640A5 #A54340
square
#6FA540 #40A2A5 #7640A5 #A54340
split-complementary
#6FA540 #4340A5 #A540A2
monochromatic
#344D1E #51792F #6FA540 #8EC261 #ADD38D

Accessibility & contrast

On white

2.94
#6FA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#6FA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA540
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA540#FFFFFF#000000##000000
##6FA5401.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#A49548
Tritanopia (blue-blind)
#709F8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6fa540;
/* rgb */ color: rgb(111, 165, 64);
/* oklch */ color: oklch(66.2% 0.145 132.8);
Tailwind
colors: {
  custom: {
    50: '#9cc079',
    500: '#6fa540',
    950: '#000000',
  },
}
SCSS
$custom: #6fa540;
$custom-light: #9cc079;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa540",
  "rgb": {
    "r": 111,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 92.079,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.1446,
    "h": 132.8
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

primary
#6FA540
secondary
#A283BE
accent
#54D498
background
#F9FBF7
surface
#F2F7EE
border
#CCD0C9
text
#0E1209
muted
#7E817B

Preview Lab

Preview with #6FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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