#6A8945#6A8945

#6A8945 is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.102 H 129.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6A8945
RGBrgb(106, 137, 69)
HSLhsl(87, 33%, 40%)
HSVhsv(87, 50%, 54%)
CMYKcmyk(22.6%, 0%, 49.6%, 46.3%)
CIE-LABlab(53.37, -23.13, 32.75)
CIE-LCHlch(53.37, 40.10, 125.23°)
OKLaboklab(59% -0.0642 0.0786)
OKLCHoklch(59% 0.102 129.2)
XYZxyz(15.9635, 21.3849, 8.9157)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8945 #644589
analogous
#898645 #6A8945 #488945
triadic
#6A8945 #456A89 #89456A
tetradic
#6A8945 #458986 #644589 #894548
square
#6A8945 #458986 #644589 #894548
split-complementary
#6A8945 #454889 #864589
monochromatic
#2B381C #4B6031 #6A8945 #89AE5E #A7C286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8945#FFFFFF#000000##000000
##6A89451.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)
#8F813F
Deuteranopia (green-blind)
#8A7F49
Tritanopia (blue-blind)
#6C8479
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8945;
/* rgb */ color: rgb(106, 137, 69);
/* oklch */ color: oklch(59.0% 0.102 129.2);
Tailwind
colors: {
  custom: {
    50: '#96ab7a',
    500: '#6a8945',
    950: '#000000',
  },
}
SCSS
$custom: #6a8945;
$custom-light: #96ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8945",
  "rgb": {
    "r": 106,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 87.353,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59,
    "c": 0.10152,
    "h": 129.2
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#6A8945
secondary
#937CAD
accent
#5FC98F
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #6A8945

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

Preview Lab → · Contrast checker → · Palette generator →

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