#6D8A2A#6D8A2A

#6D8A2A is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.126 H 124.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6D8A2A
RGBrgb(109, 138, 42)
HSLhsl(78, 53%, 35%)
HSVhsv(78, 70%, 54%)
CMYKcmyk(21%, 0%, 69.6%, 45.9%)
CIE-LABlab(53.59, -24.98, 45.95)
CIE-LCHlch(53.59, 52.30, 118.53°)
OKLaboklab(59.14% -0.072 0.1039)
OKLCHoklch(59.14% 0.126 124.7)
XYZxyz(15.8132, 21.5952, 5.5252)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A2A #472A8A
analogous
#8A772A #6D8A2A #3D8A2A
triadic
#6D8A2A #2A6D8A #8A2A6D
tetradic
#6D8A2A #2A8A77 #472A8A #8A2A3D
square
#6D8A2A #2A8A77 #472A8A #8A2A3D
split-complementary
#6D8A2A #2A3D8A #772A8A
monochromatic
#232C0D #485B1C #6D8A2A #92B938 #ADCF60

Accessibility & contrast

On white

3.95
#6D8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6D8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A2A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A2A#FFFFFF#000000##000000
##6D8A2A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#728377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a2a;
/* rgb */ color: rgb(109, 138, 42);
/* oklch */ color: oklch(59.1% 0.126 124.7);
Tailwind
colors: {
  custom: {
    50: '#9aac69',
    500: '#6d8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a2a;
$custom-light: #9aac69;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a2a",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 78.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.12641,
    "h": 124.7
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#6D8A2A
secondary
#765BB4
accent
#4BDD77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6D8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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