#6A861A#6A861A

#6A861A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.133 H 123.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A861A
RGBrgb(106, 134, 26)
HSLhsl(76, 68%, 31%)
HSVhsv(76, 81%, 53%)
CMYKcmyk(20.9%, 0%, 80.6%, 47.5%)
CIE-LABlab(52.05, -25.20, 50.28)
CIE-LCHlch(52.05, 56.24, 116.62°)
OKLaboklab(57.81% -0.0738 0.1104)
OKLCHoklch(57.81% 0.133 123.8)
XYZxyz(14.6556, 20.1888, 4.1018)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A861A #361A86
analogous
#866C1A #6A861A #34861A
triadic
#6A861A #1A6A86 #861A6A
tetradic
#6A861A #1A866C #361A86 #861A34
square
#6A861A #1A866C #361A86 #861A34
split-complementary
#6A861A #1A3486 #6C1A86
monochromatic
#191F06 #415310 #6A861A #93B924 #B2DA40

Accessibility & contrast

On white

4.17
#6A861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A861A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A861A#FFFFFF#000000##000000
##6A861A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#707F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a861a;
/* rgb */ color: rgb(106, 134, 26);
/* oklch */ color: oklch(57.8% 0.133 123.8);
Tailwind
colors: {
  custom: {
    50: '#98a961',
    500: '#6a861a',
    950: '#000000',
  },
}
SCSS
$custom: #6a861a;
$custom-light: #98a961;
$custom-dark: #000000;
JSON
{
  "hex": "#6a861a",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 75.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.13282,
    "h": 123.8
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#6A861A
secondary
#6142B9
accent
#3DEA6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6A861A

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

Preview Lab → · Contrast checker → · Palette generator →

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