#6A8416#6A8416

#6A8416 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.132 H 122.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A8416
RGBrgb(106, 132, 22)
HSLhsl(74, 71%, 30%)
HSVhsv(74, 83%, 52%)
CMYKcmyk(19.7%, 0%, 83.3%, 48.2%)
CIE-LABlab(51.41, -24.38, 50.92)
CIE-LCHlch(51.41, 56.45, 115.59°)
OKLaboklab(57.29% -0.0718 0.1111)
OKLCHoklch(57.29% 0.132 122.9)
XYZxyz(14.3402, 19.6246, 3.7913)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8416 #301684
analogous
#846716 #6A8416 #338416
triadic
#6A8416 #166A84 #84166A
tetradic
#6A8416 #168467 #301684 #841633
square
#6A8416 #168467 #301684 #841633
split-complementary
#6A8416 #163384 #671684
monochromatic
#161B05 #40500D #6A8416 #94B81F #B6DE37

Accessibility & contrast

On white

4.26
#6A8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6A8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8416
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8416#FFFFFF#000000##000000
##6A84161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#707D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a8416;
/* rgb */ color: rgb(106, 132, 22);
/* oklch */ color: oklch(57.3% 0.132 122.9);
Tailwind
colors: {
  custom: {
    50: '#98a75f',
    500: '#6a8416',
    950: '#000000',
  },
}
SCSS
$custom: #6a8416;
$custom-light: #98a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8416",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 74.182,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.13228,
    "h": 122.9
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#6A8416
secondary
#5A3DB8
accent
#3AEE64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8416

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

Preview Lab → · Contrast checker → · Palette generator →

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