#6A871A#6A871A

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

Color values

HEX#6A871A
RGBrgb(106, 135, 26)
HSLhsl(76, 68%, 32%)
HSVhsv(76, 81%, 53%)
CMYKcmyk(21.5%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.36, -25.70, 50.57)
CIE-LCHlch(52.36, 56.72, 116.94°)
OKLaboklab(58.06% -0.0751 0.111)
OKLCHoklch(58.06% 0.134 124.1)
XYZxyz(14.7945, 20.4666, 4.1481)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A871A #371A87
analogous
#876E1A #6A871A #34871A
triadic
#6A871A #1A6A87 #871A6A
tetradic
#6A871A #1A876E #371A87 #871A34
square
#6A871A #1A876E #371A87 #871A34
split-complementary
#6A871A #1A3487 #6E1A87
monochromatic
#192006 #425410 #6A871A #92BA24 #B2DA41

Accessibility & contrast

On white

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

On black

5.09
#6A871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A871A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A871A#FFFFFF#000000##000000
##6A871A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#708073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a871a;
/* rgb */ color: rgb(106, 135, 26);
/* oklch */ color: oklch(58.1% 0.134 124.1);
Tailwind
colors: {
  custom: {
    50: '#98aa61',
    500: '#6a871a',
    950: '#000000',
  },
}
SCSS
$custom: #6a871a;
$custom-light: #98aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a871a",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 75.963,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.13407,
    "h": 124.1
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#6A871A
secondary
#6242BA
accent
#3DEB6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A871A

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

Preview Lab → · Contrast checker → · Palette generator →

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