#6A8E2F#6A8E2F

#6A8E2F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.129 H 127.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6A8E2F
RGBrgb(106, 142, 47)
HSLhsl(83, 50%, 37%)
HSVhsv(83, 67%, 56%)
CMYKcmyk(25.4%, 0%, 66.9%, 44.3%)
CIE-LABlab(54.67, -27.81, 44.89)
CIE-LCHlch(54.67, 52.80, 121.77°)
OKLaboklab(59.98% -0.0791 0.1025)
OKLCHoklch(59.98% 0.129 127.7)
XYZxyz(16.1299, 22.6151, 6.2041)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8E2F #532F8E
analogous
#8E832F #6A8E2F #3A8E2F
triadic
#6A8E2F #2F6A8E #8E2F6A
tetradic
#6A8E2F #2F8E83 #532F8E #8E2F3A
square
#6A8E2F #2F8E83 #532F8E #8E2F3A
split-complementary
#6A8E2F #2F3A8E #832F8E
monochromatic
#253211 #486020 #6A8E2F #8CBC3E #A8CE6A

Accessibility & contrast

On white

3.80
#6A8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#6A8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8E2F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8E2F#FFFFFF#000000##000000
##6A8E2F1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#6E887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a8e2f;
/* rgb */ color: rgb(106, 142, 47);
/* oklch */ color: oklch(60.0% 0.129 127.7);
Tailwind
colors: {
  custom: {
    50: '#97af6c',
    500: '#6a8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #6a8e2f;
$custom-light: #97af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8e2f",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 82.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.12946,
    "h": 127.7
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#6A8E2F
secondary
#8364B5
accent
#4EDA83
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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