#6A8517#6A8517

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

Color values

HEX#6A8517
RGBrgb(106, 133, 23)
HSLhsl(75, 71%, 31%)
HSVhsv(75, 83%, 52%)
CMYKcmyk(20.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(51.73, -24.84, 50.91)
CIE-LCHlch(51.73, 56.64, 116.01°)
OKLaboklab(57.54% -0.073 0.1112)
OKLCHoklch(57.54% 0.133 123.3)
XYZxyz(14.4862, 19.9010, 3.8885)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8517 #321785
analogous
#856917 #6A8517 #338517
triadic
#6A8517 #176A85 #85176A
tetradic
#6A8517 #178569 #321785 #851733
square
#6A8517 #178569 #321785 #851733
split-complementary
#6A8517 #173385 #691785
monochromatic
#171D05 #40510E #6A8517 #94B920 #B5DD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8517#FFFFFF#000000##000000
##6A85171.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)
#8A7B23
Tritanopia (blue-blind)
#707E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8517;
/* rgb */ color: rgb(106, 133, 23);
/* oklch */ color: oklch(57.5% 0.133 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a85f',
    500: '#6a8517',
    950: '#000000',
  },
}
SCSS
$custom: #6a8517;
$custom-light: #98a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8517",
  "rgb": {
    "r": 106,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 74.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.13305,
    "h": 123.3
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#6A8517
secondary
#5D3FB9
accent
#3BED66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8517

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

Preview Lab → · Contrast checker → · Palette generator →

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