#6A812E#6A812E

#6A812E is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.112 H 123.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6A812E
RGBrgb(106, 129, 46)
HSLhsl(77, 47%, 34%)
HSVhsv(77, 64%, 51%)
CMYKcmyk(17.8%, 0%, 64.3%, 49.4%)
CIE-LABlab(50.64, -21.40, 41.01)
CIE-LCHlch(50.64, 46.26, 117.56°)
OKLaboklab(56.72% -0.0615 0.0942)
OKLCHoklch(56.72% 0.112 123.1)
XYZxyz(14.2874, 18.9619, 5.4915)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A812E #452E81
analogous
#816F2E #6A812E #40812E
triadic
#6A812E #2E6A81 #812E6A
tetradic
#6A812E #2E816F #452E81 #812E40
square
#6A812E #2E816F #452E81 #812E40
split-complementary
#6A812E #2E4081 #6F2E81
monochromatic
#20270E #45541E #6A812E #8FAE3E #ABC762

Accessibility & contrast

On white

4.38
#6A812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6A812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A812E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A812E#FFFFFF#000000##000000
##6A812E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#6F7B70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a812e;
/* rgb */ color: rgb(106, 129, 46);
/* oklch */ color: oklch(56.7% 0.112 123.1);
Tailwind
colors: {
  custom: {
    50: '#97a56b',
    500: '#6a812e',
    950: '#000000',
  },
}
SCSS
$custom: #6a812e;
$custom-light: #97a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a812e",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 76.627,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.11245,
    "h": 123.1
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#6A812E
secondary
#735DAE
accent
#51D776
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A812E

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

Preview Lab → · Contrast checker → · Palette generator →

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