#6FA840#6FA840

#6FA840 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.0% C 0.149 H 133.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6FA840
RGBrgb(111, 168, 64)
HSLhsl(93, 45%, 45%)
HSVhsv(93, 62%, 66%)
CMYKcmyk(33.9%, 0%, 61.9%, 34.1%)
CIE-LABlab(63.14, -36.54, 46.67)
CIE-LCHlch(63.14, 59.28, 128.06°)
OKLaboklab(66.98% -0.1019 0.1083)
OKLCHoklch(66.98% 0.149 133.3)
XYZxyz(21.4832, 31.7541, 9.8467)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA840 #7940A8
analogous
#A3A840 #6FA840 #40A845
triadic
#6FA840 #406FA8 #A8406F
tetradic
#6FA840 #40A3A8 #7940A8 #A84540
square
#6FA840 #40A3A8 #7940A8 #A84540
split-complementary
#6FA840 #4540A8 #A840A3
monochromatic
#344F1E #527C2F #6FA840 #8EC362 #AED48E

Accessibility & contrast

On white

2.86
#6FA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#6FA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA840
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA840#FFFFFF#000000##000000
##6FA8401.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C34
Deuteranopia (green-blind)
#A69748
Tritanopia (blue-blind)
#6FA292
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6fa840;
/* rgb */ color: rgb(111, 168, 64);
/* oklch */ color: oklch(67.0% 0.149 133.3);
Tailwind
colors: {
  custom: {
    50: '#9cc279',
    500: '#6fa840',
    950: '#000000',
  },
}
SCSS
$custom: #6fa840;
$custom-light: #9cc279;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa840",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 92.885,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66982,
    "c": 0.14874,
    "h": 133.3
  },
  "luminance": 0.31755
}

Semantic roles & 50–950 ramp

primary
#6FA840
secondary
#A585BF
accent
#53D59A
background
#F9FBF7
surface
#F2F7EE
border
#CCD0C9
text
#0E1209
muted
#7E817B

Preview Lab

Preview with #6FA840

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

Preview Lab → · Contrast checker → · Palette generator →

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