#6D8B1A#6D8B1A

#6D8B1A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.138 H 124.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6D8B1A
RGBrgb(109, 139, 26)
HSLhsl(76, 68%, 32%)
HSVhsv(76, 81%, 55%)
CMYKcmyk(21.6%, 0%, 81.3%, 45.5%)
CIE-LABlab(53.80, -26.39, 51.96)
CIE-LCHlch(53.80, 58.27, 116.93°)
OKLaboklab(59.28% -0.0772 0.1139)
OKLCHoklch(59.28% 0.138 124.1)
XYZxyz(15.7259, 21.7909, 4.3546)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8B1A #381A8B
analogous
#8B701A #6D8B1A #358B1A
triadic
#6D8B1A #1A6D8B #8B1A6D
tetradic
#6D8B1A #1A8B70 #381A8B #8B1A35
square
#6D8B1A #1A8B70 #381A8B #8B1A35
split-complementary
#6D8B1A #1A358B #701A8B
monochromatic
#1C2407 #455710 #6D8B1A #95BF24 #B3DC43

Accessibility & contrast

On white

3.92
#6D8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6D8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8B1A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8B1A#FFFFFF#000000##000000
##6D8B1A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#738476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6d8b1a;
/* rgb */ color: rgb(109, 139, 26);
/* oklch */ color: oklch(59.3% 0.138 124.1);
Tailwind
colors: {
  custom: {
    50: '#9aad62',
    500: '#6d8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #6d8b1a;
$custom-light: #9aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8b1a",
  "rgb": {
    "r": 109,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 75.929,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.13759,
    "h": 124.1
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#6D8B1A
secondary
#6444BD
accent
#3CEB6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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