#6D8A1A#6D8A1A

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

Color values

HEX#6D8A1A
RGBrgb(109, 138, 26)
HSLhsl(76, 68%, 32%)
HSVhsv(76, 81%, 54%)
CMYKcmyk(21%, 0%, 81.2%, 45.9%)
CIE-LABlab(53.50, -25.90, 51.68)
CIE-LCHlch(53.50, 57.80, 116.62°)
OKLaboklab(59.03% -0.0759 0.1133)
OKLCHoklch(59.03% 0.136 123.8)
XYZxyz(15.5818, 21.5026, 4.3066)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A1A #371A8A
analogous
#8A6F1A #6D8A1A #358A1A
triadic
#6D8A1A #1A6D8A #8A1A6D
tetradic
#6D8A1A #1A8A6F #371A8A #8A1A35
square
#6D8A1A #1A8A6F #371A8A #8A1A35
split-complementary
#6D8A1A #1A358A #6F1A8A
monochromatic
#1C2307 #445710 #6D8A1A #96BD24 #B4DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8A1A#FFFFFF#000000##000000
##6D8A1A1.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)
#928100
Deuteranopia (green-blind)
#8E8026
Tritanopia (blue-blind)
#738376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a1a;
/* rgb */ color: rgb(109, 138, 26);
/* oklch */ color: oklch(59.0% 0.136 123.8);
Tailwind
colors: {
  custom: {
    50: '#9aac61',
    500: '#6d8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a1a;
$custom-light: #9aac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a1a",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 75.536,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.13634,
    "h": 123.8
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#6D8A1A
secondary
#6343BD
accent
#3DEB6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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