#6A8B2A#6A8B2A

#6A8B2A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.129 H 126.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6A8B2A
RGBrgb(106, 139, 42)
HSLhsl(80, 54%, 35%)
HSVhsv(80, 70%, 55%)
CMYKcmyk(23.7%, 0%, 69.8%, 45.5%)
CIE-LABlab(53.70, -26.72, 45.99)
CIE-LCHlch(53.70, 53.19, 120.15°)
OKLaboklab(59.18% -0.0766 0.1041)
OKLCHoklch(59.18% 0.129 126.3)
XYZxyz(15.5944, 21.6963, 5.5563)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8B2A #4B2A8B
analogous
#8B7B2A #6A8B2A #3A8B2A
triadic
#6A8B2A #2A6A8B #8B2A6A
tetradic
#6A8B2A #2A8B7B #4B2A8B #8B2A3A
square
#6A8B2A #2A8B7B #4B2A8B #8B2A3A
split-complementary
#6A8B2A #2A3A8B #7B2A8B
monochromatic
#222D0E #465C1C #6A8B2A #8EBA38 #A9CF60

Accessibility & contrast

On white

3.93
#6A8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6A8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8B2A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8B2A#FFFFFF#000000##000000
##6A8B2A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821C
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#6E8478
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8b2a;
/* rgb */ color: rgb(106, 139, 42);
/* oklch */ color: oklch(59.2% 0.129 126.3);
Tailwind
colors: {
  custom: {
    50: '#98ad69',
    500: '#6a8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #6a8b2a;
$custom-light: #98ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8b2a",
  "rgb": {
    "r": 106,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 80.412,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.12922,
    "h": 126.3
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#6A8B2A
secondary
#7A5CB5
accent
#4BDD7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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