#6A8616#6A8616

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

Color values

HEX#6A8616
RGBrgb(106, 134, 22)
HSLhsl(75, 72%, 31%)
HSVhsv(75, 84%, 53%)
CMYKcmyk(20.9%, 0%, 83.6%, 47.5%)
CIE-LABlab(52.03, -25.38, 51.47)
CIE-LCHlch(52.03, 57.38, 116.25°)
OKLaboklab(57.79% -0.0746 0.1122)
OKLCHoklch(57.79% 0.135 123.6)
XYZxyz(14.6140, 20.1722, 3.8826)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8616 #321686
analogous
#866A16 #6A8616 #328616
triadic
#6A8616 #166A86 #86166A
tetradic
#6A8616 #16866A #321686 #861632
square
#6A8616 #16866A #321686 #861632
split-complementary
#6A8616 #163286 #6A1686
monochromatic
#171D05 #40510D #6A8616 #94BB1F #B5DE38

Accessibility & contrast

On white

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

On black

5.03
#6A8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8616
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8616#FFFFFF#000000##000000
##6A86161.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a8616;
/* rgb */ color: rgb(106, 134, 22);
/* oklch */ color: oklch(57.8% 0.135 123.6);
Tailwind
colors: {
  custom: {
    50: '#98a95f',
    500: '#6a8616',
    950: '#000000',
  },
}
SCSS
$custom: #6a8616;
$custom-light: #98a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8616",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 75,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.13475,
    "h": 123.6
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#6A8616
secondary
#5D3EBA
accent
#39EF67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8616

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

Preview Lab → · Contrast checker → · Palette generator →

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