#6A8617#6A8617

#6A8617 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.134 H 123.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A8617
RGBrgb(106, 134, 23)
HSLhsl(75, 71%, 31%)
HSVhsv(75, 83%, 53%)
CMYKcmyk(20.9%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.04, -25.33, 51.18)
CIE-LCHlch(52.04, 57.11, 116.33°)
OKLaboklab(57.79% -0.0744 0.1118)
OKLCHoklch(57.79% 0.134 123.6)
XYZxyz(14.6238, 20.1761, 3.9344)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8617 #331786
analogous
#866A17 #6A8617 #328617
triadic
#6A8617 #176A86 #86176A
tetradic
#6A8617 #17866A #331786 #861732
square
#6A8617 #17866A #331786 #861732
split-complementary
#6A8617 #173286 #6A1786
monochromatic
#171E05 #41520E #6A8617 #93BA20 #B4DD3A

Accessibility & contrast

On white

4.17
#6A8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8617
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8617#FFFFFF#000000##000000
##6A86171.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#707F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a8617;
/* rgb */ color: rgb(106, 134, 23);
/* oklch */ color: oklch(57.8% 0.134 123.6);
Tailwind
colors: {
  custom: {
    50: '#98a960',
    500: '#6a8617',
    950: '#000000',
  },
}
SCSS
$custom: #6a8617;
$custom-light: #98a960;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8617",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 75.135,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.13429,
    "h": 123.6
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#6A8617
secondary
#5E3FBA
accent
#3AED68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8617

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

Preview Lab → · Contrast checker → · Palette generator →

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