#6A862E#6A862E

#6A862E is a mid, moderate yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.119 H 125.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6A862E
RGBrgb(106, 134, 46)
HSLhsl(79, 49%, 35%)
HSVhsv(79, 66%, 53%)
CMYKcmyk(20.9%, 0%, 65.7%, 47.5%)
CIE-LABlab(52.19, -23.94, 42.68)
CIE-LCHlch(52.19, 48.93, 119.29°)
OKLaboklab(57.96% -0.0685 0.0977)
OKLCHoklch(57.96% 0.119 125.1)
XYZxyz(14.9622, 20.3115, 5.7165)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A862E #4A2E86
analogous
#86762E #6A862E #3E862E
triadic
#6A862E #2E6A86 #862E6A
tetradic
#6A862E #2E8676 #4A2E86 #862E3E
square
#6A862E #2E8676 #4A2E86 #862E3E
split-complementary
#6A862E #2E3E86 #762E86
monochromatic
#222B0F #46581E #6A862E #8EB43E #AACA64

Accessibility & contrast

On white

4.15
#6A862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6A862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A862E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A862E#FFFFFF#000000##000000
##6A862E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#6F8074
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a862e;
/* rgb */ color: rgb(106, 134, 46);
/* oklch */ color: oklch(58.0% 0.119 125.1);
Tailwind
colors: {
  custom: {
    50: '#97a96b',
    500: '#6a862e',
    950: '#000000',
  },
}
SCSS
$custom: #6a862e;
$custom-light: #97a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a862e",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 79.091,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.11931,
    "h": 125.1
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#6A862E
secondary
#795FB1
accent
#4FD87B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A862E

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

Preview Lab → · Contrast checker → · Palette generator →

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