#6D8A2F#6D8A2F

#6D8A2F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.123 H 125.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6D8A2F
RGBrgb(109, 138, 47)
HSLhsl(79, 49%, 36%)
HSVhsv(79, 66%, 54%)
CMYKcmyk(21%, 0%, 65.9%, 45.9%)
CIE-LABlab(53.64, -24.60, 43.84)
CIE-LCHlch(53.64, 50.28, 119.30°)
OKLaboklab(59.19% -0.0705 0.1002)
OKLCHoklch(59.19% 0.123 125.1)
XYZxyz(15.9083, 21.6332, 6.0263)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A2F #4C2F8A
analogous
#8A7A2F #6D8A2F #408A2F
triadic
#6D8A2F #2F6D8A #8A2F6D
tetradic
#6D8A2F #2F8A7A #4C2F8A #8A2F40
square
#6D8A2F #2F8A7A #4C2F8A #8A2F40
split-complementary
#6D8A2F #2F408A #7A2F8A
monochromatic
#252F10 #495C1F #6D8A2F #91B83F #ACCC68

Accessibility & contrast

On white

3.94
#6D8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6D8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A2F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A2F#FFFFFF#000000##000000
##6D8A2F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#728377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a2f;
/* rgb */ color: rgb(109, 138, 47);
/* oklch */ color: oklch(59.2% 0.123 125.1);
Tailwind
colors: {
  custom: {
    50: '#99ac6c',
    500: '#6d8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a2f;
$custom-light: #99ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a2f",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 79.121,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.12252,
    "h": 125.1
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#6D8A2F
secondary
#7C62B3
accent
#4FD97B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6D8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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