#6A8A2A#6A8A2A

#6A8A2A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.128 H 126.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6A8A2A
RGBrgb(106, 138, 42)
HSLhsl(80, 53%, 35%)
HSVhsv(80, 70%, 54%)
CMYKcmyk(23.2%, 0%, 69.6%, 45.9%)
CIE-LABlab(53.39, -26.23, 45.68)
CIE-LCHlch(53.39, 52.67, 119.87°)
OKLaboklab(58.93% -0.0752 0.1034)
OKLCHoklch(58.93% 0.128 126)
XYZxyz(15.4503, 21.4081, 5.5082)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A2A #4A2A8A
analogous
#8A7A2A #6A8A2A #3A8A2A
triadic
#6A8A2A #2A6A8A #8A2A6A
tetradic
#6A8A2A #2A8A7A #4A2A8A #8A2A3A
square
#6A8A2A #2A8A7A #4A2A8A #8A2A3A
split-complementary
#6A8A2A #2A3A8A #7A2A8A
monochromatic
#222C0D #465B1C #6A8A2A #8EB938 #AACF60

Accessibility & contrast

On white

3.98
#6A8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6A8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A2A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A2A#FFFFFF#000000##000000
##6A8A2A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#6E8377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8a2a;
/* rgb */ color: rgb(106, 138, 42);
/* oklch */ color: oklch(58.9% 0.128 126.0);
Tailwind
colors: {
  custom: {
    50: '#97ac69',
    500: '#6a8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a2a;
$custom-light: #97ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a2a",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.12787,
    "h": 126
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#6A8A2A
secondary
#795BB4
accent
#4BDD7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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