#6F8617#6F8617

#6F8617 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.132 H 121.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6F8617
RGBrgb(111, 134, 23)
HSLhsl(72, 71%, 31%)
HSVhsv(72, 83%, 53%)
CMYKcmyk(17.2%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.39, -23.17, 51.63)
CIE-LCHlch(52.39, 56.59, 114.17°)
OKLaboklab(58.17% -0.0688 0.1126)
OKLCHoklch(58.17% 0.132 121.4)
XYZxyz(15.2356, 20.4916, 3.9631)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8617 #2E1786
analogous
#866517 #6F8617 #388617
triadic
#6F8617 #176F86 #86176F
tetradic
#6F8617 #178665 #2E1786 #861738
square
#6F8617 #178665 #2E1786 #861738
split-complementary
#6F8617 #173886 #651786
monochromatic
#181E05 #44520E #6F8617 #9ABA20 #BBDD3A

Accessibility & contrast

On white

4.12
#6F8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6F8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8617
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8617#FFFFFF#000000##000000
##6F86171.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#767F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6f8617;
/* rgb */ color: rgb(111, 134, 23);
/* oklch */ color: oklch(58.2% 0.132 121.4);
Tailwind
colors: {
  custom: {
    50: '#9ca960',
    500: '#6f8617',
    950: '#000000',
  },
}
SCSS
$custom: #6f8617;
$custom-light: #9ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8617",
  "rgb": {
    "r": 111,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 72.432,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.13193,
    "h": 121.4
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#6F8617
secondary
#583FBA
accent
#3AED5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8617

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

Preview Lab → · Contrast checker → · Palette generator →

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