#6A8D17#6A8D17

#6A8D17 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.143 H 125.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A8D17
RGBrgb(106, 141, 23)
HSLhsl(78, 72%, 32%)
HSVhsv(78, 84%, 55%)
CMYKcmyk(24.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.21, -28.75, 53.12)
CIE-LCHlch(54.21, 60.40, 118.42°)
OKLaboklab(59.56% -0.0836 0.1159)
OKLCHoklch(59.56% 0.143 125.8)
XYZxyz(15.6235, 22.1755, 4.2676)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D17 #3A178D
analogous
#8D7517 #6A8D17 #2F8D17
triadic
#6A8D17 #176A8D #8D176A
tetradic
#6A8D17 #178D75 #3A178D #8D172F
square
#6A8D17 #178D75 #3A178D #8D172F
split-complementary
#6A8D17 #172F8D #75178D
monochromatic
#1B2406 #42580E #6A8D17 #92C220 #B0E03F

Accessibility & contrast

On white

3.86
#6A8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6A8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D17
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D17#FFFFFF#000000##000000
##6A8D171.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#6F8678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d17;
/* rgb */ color: rgb(106, 141, 23);
/* oklch */ color: oklch(59.6% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#98ae61',
    500: '#6a8d17',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d17;
$custom-light: #98ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d17",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 77.797,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.14296,
    "h": 125.8
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#6A8D17
secondary
#6640C0
accent
#39EF6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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