#6A871E#6A871E

#6A871E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.132 H 124.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6A871E
RGBrgb(106, 135, 30)
HSLhsl(77, 64%, 32%)
HSVhsv(77, 78%, 53%)
CMYKcmyk(21.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.38, -25.50, 49.27)
CIE-LCHlch(52.38, 55.47, 117.36°)
OKLaboklab(58.08% -0.0743 0.109)
OKLCHoklch(58.08% 0.132 124.3)
XYZxyz(14.8423, 20.4857, 4.4002)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A871E #3B1E87
analogous
#876F1E #6A871E #36871E
triadic
#6A871E #1E6A87 #871E6A
tetradic
#6A871E #1E876F #3B1E87 #871E36
square
#6A871E #1E876F #3B1E87 #871E36
split-complementary
#6A871E #1E3687 #6F1E87
monochromatic
#1B2308 #435513 #6A871E #91B929 #AFD749

Accessibility & contrast

On white

4.12
#6A871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6A871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A871E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A871E#FFFFFF#000000##000000
##6A871E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E05
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#6F8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a871e;
/* rgb */ color: rgb(106, 135, 30);
/* oklch */ color: oklch(58.1% 0.132 124.3);
Tailwind
colors: {
  custom: {
    50: '#98aa63',
    500: '#6a871e',
    950: '#000000',
  },
}
SCSS
$custom: #6a871e;
$custom-light: #98aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#6a871e",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 76.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.13189,
    "h": 124.3
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#6A871E
secondary
#6748B9
accent
#41E76F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A871E

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

Preview Lab → · Contrast checker → · Palette generator →

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