#6F8F17#6F8F17

#6F8F17 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.4% C 0.143 H 124.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6F8F17
RGBrgb(111, 143, 23)
HSLhsl(76, 72%, 33%)
HSVhsv(76, 84%, 56%)
CMYKcmyk(22.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.16, -27.62, 54.08)
CIE-LCHlch(55.16, 60.73, 117.05°)
OKLaboklab(60.41% -0.0809 0.1178)
OKLCHoklch(60.41% 0.143 124.5)
XYZxyz(16.5328, 23.0861, 4.3955)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8F17 #37178F
analogous
#8F7317 #6F8F17 #338F17
triadic
#6F8F17 #176F8F #8F176F
tetradic
#6F8F17 #178F73 #37178F #8F1733
square
#6F8F17 #178F73 #37178F #8F1733
split-complementary
#6F8F17 #17338F #73178F
monochromatic
#1D2606 #465A0F #6F8F17 #98C41F #B6E040

Accessibility & contrast

On white

3.74
#6F8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6F8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8F17
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8F17#FFFFFF#000000##000000
##6F8F171.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f8f17;
/* rgb */ color: rgb(111, 143, 23);
/* oklch */ color: oklch(60.4% 0.143 124.5);
Tailwind
colors: {
  custom: {
    50: '#9cb061',
    500: '#6f8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6f8f17;
$custom-light: #9cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8f17",
  "rgb": {
    "r": 111,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 76,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.14291,
    "h": 124.5
  },
  "luminance": 0.23086
}

Semantic roles & 50–950 ramp

primary
#6F8F17
secondary
#6341C1
accent
#39EF69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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