#6D8F17#6D8F17

#6D8F17 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.144 H 125.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6D8F17
RGBrgb(109, 143, 23)
HSLhsl(77, 72%, 33%)
HSVhsv(77, 84%, 56%)
CMYKcmyk(23.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.03, -28.46, 53.92)
CIE-LCHlch(55.03, 60.97, 117.83°)
OKLaboklab(60.27% -0.083 0.1175)
OKLCHoklch(60.27% 0.144 125.2)
XYZxyz(16.2839, 22.9578, 4.3838)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8F17 #39178F
analogous
#8F7517 #6D8F17 #318F17
triadic
#6D8F17 #176D8F #8F176D
tetradic
#6D8F17 #178F75 #39178F #8F1731
square
#6D8F17 #178F75 #39178F #8F1731
split-complementary
#6D8F17 #17318F #75178F
monochromatic
#1D2606 #455A0F #6D8F17 #95C41F #B3E040

Accessibility & contrast

On white

3.76
#6D8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6D8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8F17
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8F17#FFFFFF#000000##000000
##6D8F171.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#72887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6d8f17;
/* rgb */ color: rgb(109, 143, 23);
/* oklch */ color: oklch(60.3% 0.144 125.2);
Tailwind
colors: {
  custom: {
    50: '#9bb061',
    500: '#6d8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6d8f17;
$custom-light: #9bb061;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8f17",
  "rgb": {
    "r": 109,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 77,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.14391,
    "h": 125.2
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#6D8F17
secondary
#6541C1
accent
#39EF6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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