#6B8A2F#6B8A2F

#6B8A2F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.123 H 126.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6B8A2F
RGBrgb(107, 138, 47)
HSLhsl(80, 49%, 36%)
HSVhsv(80, 66%, 54%)
CMYKcmyk(22.5%, 0%, 65.9%, 45.9%)
CIE-LABlab(53.50, -25.44, 43.66)
CIE-LCHlch(53.50, 50.53, 120.23°)
OKLaboklab(59.05% -0.0726 0.0999)
OKLCHoklch(59.05% 0.123 126)
XYZxyz(15.6650, 21.5078, 6.0149)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A2F #4E2F8A
analogous
#8A7C2F #6B8A2F #3E8A2F
triadic
#6B8A2F #2F6B8A #8A2F6B
tetradic
#6B8A2F #2F8A7C #4E2F8A #8A2F3E
square
#6B8A2F #2F8A7C #4E2F8A #8A2F3E
split-complementary
#6B8A2F #2F3E8A #7C2F8A
monochromatic
#242F10 #485C1F #6B8A2F #8EB83F #AACC68

Accessibility & contrast

On white

3.96
#6B8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6B8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A2F#FFFFFF#000000##000000
##6B8A2F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#6F8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a2f;
/* rgb */ color: rgb(107, 138, 47);
/* oklch */ color: oklch(59.0% 0.123 126.0);
Tailwind
colors: {
  custom: {
    50: '#98ac6c',
    500: '#6b8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a2f;
$custom-light: #98ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a2f",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 80.44,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.12349,
    "h": 126
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#6B8A2F
secondary
#7E62B3
accent
#4FD97E
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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