#6D8E17#6D8E17

#6D8E17 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.143 H 124.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6D8E17
RGBrgb(109, 142, 23)
HSLhsl(77, 72%, 32%)
HSVhsv(77, 84%, 56%)
CMYKcmyk(23.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.72, -27.98, 53.64)
CIE-LCHlch(54.72, 60.50, 117.54°)
OKLaboklab(60.02% -0.0817 0.117)
OKLCHoklch(60.02% 0.143 124.9)
XYZxyz(16.1345, 22.6589, 4.3340)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8E17 #38178E
analogous
#8E7417 #6D8E17 #318E17
triadic
#6D8E17 #176D8E #8E176D
tetradic
#6D8E17 #178E74 #38178E #8E1731
square
#6D8E17 #178E74 #38178E #8E1731
split-complementary
#6D8E17 #17318E #74178E
monochromatic
#1C2506 #45590E #6D8E17 #95C320 #B3E03F

Accessibility & contrast

On white

3.80
#6D8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6D8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8E17
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8E17#FFFFFF#000000##000000
##6D8E171.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#728779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6d8e17;
/* rgb */ color: rgb(109, 142, 23);
/* oklch */ color: oklch(60.0% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#9baf61',
    500: '#6d8e17',
    950: '#000000',
  },
}
SCSS
$custom: #6d8e17;
$custom-light: #9baf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8e17",
  "rgb": {
    "r": 109,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 76.639,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.14268,
    "h": 124.9
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#6D8E17
secondary
#6440C0
accent
#39EF6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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