#6A8F17#6A8F17

#6A8F17 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.145 H 126.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A8F17
RGBrgb(106, 143, 23)
HSLhsl(79, 72%, 33%)
HSVhsv(79, 84%, 56%)
CMYKcmyk(25.9%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.84, -29.70, 53.67)
CIE-LCHlch(54.84, 61.34, 118.96°)
OKLaboklab(60.06% -0.0862 0.1171)
OKLCHoklch(60.06% 0.145 126.4)
XYZxyz(15.9211, 22.7707, 4.3668)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8F17 #3C178F
analogous
#8F7817 #6A8F17 #2E8F17
triadic
#6A8F17 #176A8F #8F176A
tetradic
#6A8F17 #178F78 #3C178F #8F172E
square
#6A8F17 #178F78 #3C178F #8F172E
split-complementary
#6A8F17 #172E8F #78178F
monochromatic
#1C2606 #435A0F #6A8F17 #91C41F #AFE040

Accessibility & contrast

On white

3.78
#6A8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6A8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8F17
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8F17#FFFFFF#000000##000000
##6A8F171.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#6F887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a8f17;
/* rgb */ color: rgb(106, 143, 23);
/* oklch */ color: oklch(60.1% 0.145 126.4);
Tailwind
colors: {
  custom: {
    50: '#99b061',
    500: '#6a8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6a8f17;
$custom-light: #99b061;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8f17",
  "rgb": {
    "r": 106,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 78.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.14543,
    "h": 126.4
  },
  "luminance": 0.22771
}

Semantic roles & 50–950 ramp

primary
#6A8F17
secondary
#6841C1
accent
#39EF71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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