#6A8E17#6A8E17

#6A8E17 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.144 H 126.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6A8E17
RGBrgb(106, 142, 23)
HSLhsl(78, 72%, 32%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(25.4%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.52, -29.23, 53.40)
CIE-LCHlch(54.52, 60.87, 118.69°)
OKLaboklab(59.81% -0.0849 0.1165)
OKLCHoklch(59.81% 0.144 126.1)
XYZxyz(15.7716, 22.4718, 4.3170)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8E17 #3B178E
analogous
#8E7617 #6A8E17 #2F8E17
triadic
#6A8E17 #176A8E #8E176A
tetradic
#6A8E17 #178E76 #3B178E #8E172F
square
#6A8E17 #178E76 #3B178E #8E172F
split-complementary
#6A8E17 #172F8E #76178E
monochromatic
#1B2506 #43590E #6A8E17 #91C320 #AFE03F

Accessibility & contrast

On white

3.82
#6A8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6A8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8E17
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8E17#FFFFFF#000000##000000
##6A8E171.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#6F8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8e17;
/* rgb */ color: rgb(106, 142, 23);
/* oklch */ color: oklch(59.8% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#99af61',
    500: '#6a8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6a8e17;
$custom-light: #99af61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8e17",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 78.151,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.1442,
    "h": 126.1
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#6A8E17
secondary
#6740C0
accent
#39EF70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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