#6A8D2A#6A8D2A

#6A8D2A is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.132 H 126.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6A8D2A
RGBrgb(106, 141, 42)
HSLhsl(81, 54%, 36%)
HSVhsv(81, 70%, 55%)
CMYKcmyk(24.8%, 0%, 70.2%, 44.7%)
CIE-LABlab(54.32, -27.70, 46.63)
CIE-LCHlch(54.32, 54.24, 120.71°)
OKLaboklab(59.68% -0.0793 0.1054)
OKLCHoklch(59.68% 0.132 126.9)
XYZxyz(15.8867, 22.2808, 5.6537)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D2A #4D2A8D
analogous
#8D7E2A #6A8D2A #388D2A
triadic
#6A8D2A #2A6A8D #8D2A6A
tetradic
#6A8D2A #2A8D7E #4D2A8D #8D2A38
square
#6A8D2A #2A8D7E #4D2A8D #8D2A38
split-complementary
#6A8D2A #2A388D #7E2A8D
monochromatic
#232F0E #475E1C #6A8D2A #8DBC38 #A9D061

Accessibility & contrast

On white

3.85
#6A8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6A8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D2A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D2A#FFFFFF#000000##000000
##6A8D2A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#908132
Tritanopia (blue-blind)
#6E8679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d2a;
/* rgb */ color: rgb(106, 141, 42);
/* oklch */ color: oklch(59.7% 0.132 126.9);
Tailwind
colors: {
  custom: {
    50: '#98ae6a',
    500: '#6a8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d2a;
$custom-light: #98ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d2a",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 81.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.13189,
    "h": 126.9
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#6A8D2A
secondary
#7C5DB6
accent
#4ADD7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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