#6A8B1A#6A8B1A

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

Color values

HEX#6A8B1A
RGBrgb(106, 139, 26)
HSLhsl(78, 68%, 32%)
HSVhsv(78, 81%, 55%)
CMYKcmyk(23.7%, 0%, 81.3%, 45.5%)
CIE-LABlab(53.60, -27.65, 51.70)
CIE-LCHlch(53.60, 58.63, 118.14°)
OKLaboklab(59.07% -0.0805 0.1134)
OKLCHoklch(59.07% 0.139 125.4)
XYZxyz(15.3631, 21.6038, 4.3376)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8B1A #3B1A8B
analogous
#8B741A #6A8B1A #328B1A
triadic
#6A8B1A #1A6A8B #8B1A6A
tetradic
#6A8B1A #1A8B74 #3B1A8B #8B1A32
square
#6A8B1A #1A8B74 #3B1A8B #8B1A32
split-complementary
#6A8B1A #1A328B #741A8B
monochromatic
#1B2407 #435710 #6A8B1A #91BF24 #AFDC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8B1A#FFFFFF#000000##000000
##6A8B1A1.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)
#938100
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#6F8476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8b1a;
/* rgb */ color: rgb(106, 139, 26);
/* oklch */ color: oklch(59.1% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#98ad62',
    500: '#6a8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #6a8b1a;
$custom-light: #98ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8b1a",
  "rgb": {
    "r": 106,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 77.522,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.13907,
    "h": 125.4
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#6A8B1A
secondary
#6744BD
accent
#3CEB70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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