#6A842E#6A842E

#6A842E is a mid, moderate yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.117 H 124.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6A842E
RGBrgb(106, 132, 46)
HSLhsl(78, 48%, 35%)
HSVhsv(78, 65%, 52%)
CMYKcmyk(19.7%, 0%, 65.2%, 48.2%)
CIE-LABlab(51.57, -22.93, 42.01)
CIE-LCHlch(51.57, 47.86, 118.63°)
OKLaboklab(57.46% -0.0657 0.0963)
OKLCHoklch(57.46% 0.117 124.3)
XYZxyz(14.6884, 19.7638, 5.6252)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A842E #482E84
analogous
#84732E #6A842E #3F842E
triadic
#6A842E #2E6A84 #842E6A
tetradic
#6A842E #2E8473 #482E84 #842E3F
square
#6A842E #2E8473 #482E84 #842E3F
split-complementary
#6A842E #2E3F84 #732E84
monochromatic
#21290E #46571E #6A842E #8EB13E #AAC964

Accessibility & contrast

On white

4.24
#6A842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6A842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A842E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A842E#FFFFFF#000000##000000
##6A842E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C23
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#6F7E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a842e;
/* rgb */ color: rgb(106, 132, 46);
/* oklch */ color: oklch(57.5% 0.117 124.3);
Tailwind
colors: {
  custom: {
    50: '#97a76b',
    500: '#6a842e',
    950: '#000000',
  },
}
SCSS
$custom: #6a842e;
$custom-light: #97a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a842e",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 78.14,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.11657,
    "h": 124.3
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#6A842E
secondary
#775EB0
accent
#50D879
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A842E

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

Preview Lab → · Contrast checker → · Palette generator →

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