#6A8D16#6A8D16

#6A8D16 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.143 H 125.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6A8D16
RGBrgb(106, 141, 22)
HSLhsl(78, 73%, 32%)
HSVhsv(78, 84%, 55%)
CMYKcmyk(24.8%, 0%, 84.4%, 44.7%)
CIE-LABlab(54.21, -28.79, 53.39)
CIE-LCHlch(54.21, 60.65, 118.33°)
OKLaboklab(59.55% -0.0838 0.1163)
OKLCHoklch(59.55% 0.143 125.8)
XYZxyz(15.6137, 22.1716, 4.2158)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D16 #39168D
analogous
#8D7516 #6A8D16 #2F8D16
triadic
#6A8D16 #166A8D #8D166A
tetradic
#6A8D16 #168D75 #39168D #8D162F
square
#6A8D16 #168D75 #39168D #8D162F
split-complementary
#6A8D16 #162F8D #75168D
monochromatic
#1A2305 #42580E #6A8D16 #92C21E #B0E13D

Accessibility & contrast

On white

3.86
#6A8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6A8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D16
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D16#FFFFFF#000000##000000
##6A8D161.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#6F8678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d16;
/* rgb */ color: rgb(106, 141, 22);
/* oklch */ color: oklch(59.6% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#99ae60',
    500: '#6a8d16',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d16;
$custom-light: #99ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d16",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 77.647,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.14339,
    "h": 125.8
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#6A8D16
secondary
#653EC1
accent
#38F06E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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