#6F8817#6F8817

#6F8817 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.7% C 0.134 H 122.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6F8817
RGBrgb(111, 136, 23)
HSLhsl(73, 71%, 31%)
HSVhsv(73, 83%, 53%)
CMYKcmyk(18.4%, 0%, 83.1%, 46.7%)
CIE-LABlab(53.00, -24.17, 52.18)
CIE-LCHlch(53.00, 57.50, 114.86°)
OKLaboklab(58.67% -0.0715 0.1138)
OKLCHoklch(58.67% 0.134 122.2)
XYZxyz(15.5146, 21.0496, 4.0561)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8817 #301788
analogous
#886817 #6F8817 #368817
triadic
#6F8817 #176F88 #88176F
tetradic
#6F8817 #178868 #301788 #881736
square
#6F8817 #178868 #301788 #881736
split-complementary
#6F8817 #173688 #681788
monochromatic
#1A1F05 #44540E #6F8817 #9ABC20 #BADE3B

Accessibility & contrast

On white

4.03
#6F8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6F8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8817
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8817#FFFFFF#000000##000000
##6F88171.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8D7F23
Tritanopia (blue-blind)
#758174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f8817;
/* rgb */ color: rgb(111, 136, 23);
/* oklch */ color: oklch(58.7% 0.134 122.2);
Tailwind
colors: {
  custom: {
    50: '#9caa60',
    500: '#6f8817',
    950: '#000000',
  },
}
SCSS
$custom: #6f8817;
$custom-light: #9caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8817",
  "rgb": {
    "r": 111,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 73.274,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.13436,
    "h": 122.2
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#6F8817
secondary
#5B3FBC
accent
#3AEE62
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8817

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

Preview Lab → · Contrast checker → · Palette generator →

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