#6A8217#6A8217

#6A8217 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.129 H 122.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A8217
RGBrgb(106, 130, 23)
HSLhsl(73, 70%, 30%)
HSVhsv(73, 82%, 51%)
CMYKcmyk(18.5%, 0%, 82.3%, 49%)
CIE-LABlab(50.79, -23.34, 50.07)
CIE-LCHlch(50.79, 55.24, 114.99°)
OKLaboklab(56.79% -0.0689 0.1095)
OKLCHoklch(56.79% 0.129 122.2)
XYZxyz(14.0814, 19.0913, 3.7536)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8217 #2F1782
analogous
#826517 #6A8217 #348217
triadic
#6A8217 #176A82 #82176A
tetradic
#6A8217 #178265 #2F1782 #821734
square
#6A8217 #178265 #2F1782 #821734
split-complementary
#6A8217 #173482 #651782
monochromatic
#151A05 #404E0E #6A8217 #94B620 #B7DC38

Accessibility & contrast

On white

4.36
#6A8217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6A8217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8217
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8217#FFFFFF#000000##000000
##6A82171.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#707B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6a8217;
/* rgb */ color: rgb(106, 130, 23);
/* oklch */ color: oklch(56.8% 0.129 122.2);
Tailwind
colors: {
  custom: {
    50: '#98a65f',
    500: '#6a8217',
    950: '#000000',
  },
}
SCSS
$custom: #6a8217;
$custom-light: #98a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8217",
  "rgb": {
    "r": 106,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 73.458,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.12935,
    "h": 122.2
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#6A8217
secondary
#593EB6
accent
#3BED63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8217

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

Preview Lab → · Contrast checker → · Palette generator →

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