#6A8111#6A8111

#6A8111 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.131 H 121.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6A8111
RGBrgb(106, 129, 17)
HSLhsl(72, 77%, 29%)
HSVhsv(72, 87%, 51%)
CMYKcmyk(17.8%, 0%, 86.8%, 49.4%)
CIE-LABlab(50.46, -23.06, 51.43)
CIE-LCHlch(50.46, 56.36, 114.15°)
OKLaboklab(56.51% -0.0686 0.1113)
OKLCHoklch(56.51% 0.131 121.6)
XYZxyz(13.8955, 18.8051, 3.4279)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8111 #281181
analogous
#816011 #6A8111 #328111
triadic
#6A8111 #116A81 #81116A
tetradic
#6A8111 #118160 #281181 #811132
square
#6A8111 #118160 #281181 #811132
split-complementary
#6A8111 #113281 #601181
monochromatic
#161B04 #3E4B0A #6A8111 #96B718 #BDE32A

Accessibility & contrast

On white

4.41
#6A8111 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6A8111 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8111
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8111#FFFFFF#000000##000000
##6A81111.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#707A6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a8111;
/* rgb */ color: rgb(106, 129, 17);
/* oklch */ color: oklch(56.5% 0.131 121.6);
Tailwind
colors: {
  custom: {
    50: '#98a55d',
    500: '#6a8111',
    950: '#000000',
  },
}
SCSS
$custom: #6a8111;
$custom-light: #98a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8111",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 72.321,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.13075,
    "h": 121.6
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#6A8111
secondary
#5137B7
accent
#35F35C
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8111

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

Preview Lab → · Contrast checker → · Palette generator →

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