#6A8342#6A8342

#6A8342 is a mid, moderate yellow-green. Relative luminance 0.197; OKLCH L 57.5% C 0.096 H 126.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6A8342
RGBrgb(106, 131, 66)
HSLhsl(83, 33%, 39%)
HSVhsv(83, 50%, 51%)
CMYKcmyk(19.1%, 0%, 49.6%, 48.6%)
CIE-LABlab(51.48, -20.42, 32.03)
CIE-LCHlch(51.48, 37.98, 122.52°)
OKLaboklab(57.47% -0.0569 0.0768)
OKLCHoklch(57.47% 0.096 126.5)
XYZxyz(15.0435, 19.6899, 8.1612)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8342 #5B4283
analogous
#837B42 #6A8342 #498342
triadic
#6A8342 #426A83 #83426A
tetradic
#6A8342 #42837B #5B4283 #834249
square
#6A8342 #42837B #5B4283 #834249
split-complementary
#6A8342 #424983 #7B4283
monochromatic
#283219 #495A2D #6A8342 #8BAB58 #A7BF80

Accessibility & contrast

On white

4.25
#6A8342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6A8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8342
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8342#FFFFFF#000000##000000
##6A83421.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3C
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#6D7E74
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8342;
/* rgb */ color: rgb(106, 131, 66);
/* oklch */ color: oklch(57.5% 0.096 126.5);
Tailwind
colors: {
  custom: {
    50: '#96a778',
    500: '#6a8342',
    950: '#000000',
  },
}
SCSS
$custom: #6a8342;
$custom-light: #96a778;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8342",
  "rgb": {
    "r": 106,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 83.077,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.09558,
    "h": 126.5
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#6A8342
secondary
#8B77AA
accent
#5FC988
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D0F09
muted
#7E7F7B

Preview Lab

Preview with #6A8342

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

Preview Lab → · Contrast checker → · Palette generator →

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