#6A8916#6A8916

#6A8916 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.138 H 124.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6A8916
RGBrgb(106, 137, 22)
HSLhsl(76, 72%, 31%)
HSVhsv(76, 84%, 54%)
CMYKcmyk(22.6%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.96, -26.85, 52.29)
CIE-LCHlch(52.96, 58.78, 117.18°)
OKLaboklab(58.54% -0.0786 0.114)
OKLCHoklch(58.54% 0.138 124.6)
XYZxyz(15.0345, 21.0133, 4.0228)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8916 #351689
analogous
#896E16 #6A8916 #308916
triadic
#6A8916 #166A89 #89166A
tetradic
#6A8916 #16896E #351689 #891630
square
#6A8916 #16896E #351689 #891630
split-complementary
#6A8916 #163089 #6E1689
monochromatic
#182005 #41540E #6A8916 #93BE1E #B3DF3A

Accessibility & contrast

On white

4.04
#6A8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6A8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8916
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8916#FFFFFF#000000##000000
##6A89161.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#6F8274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a8916;
/* rgb */ color: rgb(106, 137, 22);
/* oklch */ color: oklch(58.5% 0.138 124.6);
Tailwind
colors: {
  custom: {
    50: '#98ab60',
    500: '#6a8916',
    950: '#000000',
  },
}
SCSS
$custom: #6a8916;
$custom-light: #98ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8916",
  "rgb": {
    "r": 106,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 76.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.13845,
    "h": 124.6
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#6A8916
secondary
#603EBD
accent
#39EF6A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6A8916

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

Preview Lab → · Contrast checker → · Palette generator →

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