#6A8516#6A8516

#6A8516 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.5% C 0.134 H 123.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6A8516
RGBrgb(106, 133, 22)
HSLhsl(75, 72%, 30%)
HSVhsv(75, 83%, 52%)
CMYKcmyk(20.3%, 0%, 83.5%, 47.8%)
CIE-LABlab(51.72, -24.88, 51.19)
CIE-LCHlch(51.72, 56.92, 115.92°)
OKLaboklab(57.54% -0.0732 0.1117)
OKLCHoklch(57.54% 0.134 123.3)
XYZxyz(14.4764, 19.8971, 3.8368)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8516 #311685
analogous
#856916 #6A8516 #328516
triadic
#6A8516 #166A85 #85166A
tetradic
#6A8516 #168569 #311685 #851632
square
#6A8516 #168569 #311685 #851632
split-complementary
#6A8516 #163285 #691685
monochromatic
#161C05 #40500D #6A8516 #94BA1F #B5DE37

Accessibility & contrast

On white

4.22
#6A8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6A8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8516
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8516#FFFFFF#000000##000000
##6A85161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#707E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8516;
/* rgb */ color: rgb(106, 133, 22);
/* oklch */ color: oklch(57.5% 0.134 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a85f',
    500: '#6a8516',
    950: '#000000',
  },
}
SCSS
$custom: #6a8516;
$custom-light: #98a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8516",
  "rgb": {
    "r": 106,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 74.595,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.13352,
    "h": 123.3
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#6A8516
secondary
#5C3EB9
accent
#39EE65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8516

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

Preview Lab → · Contrast checker → · Palette generator →

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