#6A8A42#6A8A42

#6A8A42 is a mid, moderate yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.106 H 129.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A8A42
RGBrgb(106, 138, 66)
HSLhsl(87, 35%, 40%)
HSVhsv(87, 52%, 54%)
CMYKcmyk(23.2%, 0%, 52.2%, 45.9%)
CIE-LABlab(53.64, -23.99, 34.64)
CIE-LCHlch(53.64, 42.13, 124.71°)
OKLaboklab(59.2% -0.0668 0.0826)
OKLCHoklch(59.2% 0.106 129)
XYZxyz(16.0156, 21.6342, 8.4852)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A42 #62428A
analogous
#8A8642 #6A8A42 #468A42
triadic
#6A8A42 #426A8A #8A426A
tetradic
#6A8A42 #428A86 #62428A #8A4246
square
#6A8A42 #428A86 #62428A #8A4246
split-complementary
#6A8A42 #42468A #86428A
monochromatic
#2A371A #4A612E #6A8A42 #89B059 #A7C483

Accessibility & contrast

On white

3.94
#6A8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6A8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A42
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A42#FFFFFF#000000##000000
##6A8A421.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#8B7F46
Tritanopia (blue-blind)
#6D857A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8a42;
/* rgb */ color: rgb(106, 138, 66);
/* oklch */ color: oklch(59.2% 0.106 129.0);
Tailwind
colors: {
  custom: {
    50: '#96ac78',
    500: '#6a8a42',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a42;
$custom-light: #96ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a42",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 86.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.10623,
    "h": 129
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#6A8A42
secondary
#9179AE
accent
#5CCB8E
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #6A8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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