#6F8D17#6F8D17

#6F8D17 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.140 H 123.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6F8D17
RGBrgb(111, 141, 23)
HSLhsl(75, 72%, 32%)
HSVhsv(75, 84%, 55%)
CMYKcmyk(21.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.54, -26.65, 53.54)
CIE-LCHlch(54.54, 59.80, 116.46°)
OKLaboklab(59.91% -0.0782 0.1167)
OKLCHoklch(59.91% 0.14 123.8)
XYZxyz(16.2353, 22.4910, 4.2963)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D17 #35178D
analogous
#8D7017 #6F8D17 #348D17
triadic
#6F8D17 #176F8D #8D176F
tetradic
#6F8D17 #178D70 #35178D #8D1734
square
#6F8D17 #178D70 #35178D #8D1734
split-complementary
#6F8D17 #17348D #70178D
monochromatic
#1C2406 #46580E #6F8D17 #98C220 #B7E03F

Accessibility & contrast

On white

3.82
#6F8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6F8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D17
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D17#FFFFFF#000000##000000
##6F8D171.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#758678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6f8d17;
/* rgb */ color: rgb(111, 141, 23);
/* oklch */ color: oklch(59.9% 0.140 123.8);
Tailwind
colors: {
  custom: {
    50: '#9cae61',
    500: '#6f8d17',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d17;
$custom-light: #9cae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d17",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 75.254,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.14046,
    "h": 123.8
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#6F8D17
secondary
#6040C0
accent
#39EF67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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