#6A862F#6A862F

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

Color values

HEX#6A862F
RGBrgb(106, 134, 47)
HSLhsl(79, 48%, 35%)
HSVhsv(79, 65%, 53%)
CMYKcmyk(20.9%, 0%, 64.9%, 47.5%)
CIE-LABlab(52.20, -23.86, 42.23)
CIE-LCHlch(52.20, 48.51, 119.46°)
OKLaboklab(57.97% -0.0682 0.0969)
OKLCHoklch(57.97% 0.118 125.1)
XYZxyz(14.9821, 20.3194, 5.8215)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A862F #4B2F86
analogous
#86762F #6A862F #3F862F
triadic
#6A862F #2F6A86 #862F6A
tetradic
#6A862F #2F8676 #4B2F86 #862F3F
square
#6A862F #2F8676 #4B2F86 #862F3F
split-complementary
#6A862F #2F3F86 #762F86
monochromatic
#222B0F #46591F #6A862F #8EB33F #A9C966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A862F#FFFFFF#000000##000000
##6A862F1.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)
#8D7D24
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#6F8074
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a862f;
/* rgb */ color: rgb(106, 134, 47);
/* oklch */ color: oklch(58.0% 0.118 125.1);
Tailwind
colors: {
  custom: {
    50: '#97a96c',
    500: '#6a862f',
    950: '#000000',
  },
}
SCSS
$custom: #6a862f;
$custom-light: #97a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a862f",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 79.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.11848,
    "h": 125.1
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#6A862F
secondary
#7A60B0
accent
#50D87C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6A862F

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

Preview Lab → · Contrast checker → · Palette generator →

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