#6F8317#6F8317

#6F8317 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.128 H 120.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6F8317
RGBrgb(111, 131, 23)
HSLhsl(71, 70%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(15.3%, 0%, 82.4%, 48.6%)
CIE-LABlab(51.47, -21.65, 50.81)
CIE-LCHlch(51.47, 55.23, 113.08°)
OKLaboklab(57.42% -0.0646 0.1109)
OKLCHoklch(57.42% 0.128 120.2)
XYZxyz(14.8268, 19.6740, 3.8268)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8317 #2B1783
analogous
#836117 #6F8317 #398317
triadic
#6F8317 #176F83 #83176F
tetradic
#6F8317 #178361 #2B1783 #831739
square
#6F8317 #178361 #2B1783 #831739
split-complementary
#6F8317 #173983 #611783
monochromatic
#171B05 #434F0E #6F8317 #9BB720 #BEDC38

Accessibility & contrast

On white

4.26
#6F8317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6F8317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8317
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8317#FFFFFF#000000##000000
##6F83171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#767C6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f8317;
/* rgb */ color: rgb(111, 131, 23);
/* oklch */ color: oklch(57.4% 0.128 120.2);
Tailwind
colors: {
  custom: {
    50: '#9ca75f',
    500: '#6f8317',
    950: '#000000',
  },
}
SCSS
$custom: #6f8317;
$custom-light: #9ca75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8317",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 71.111,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.1283,
    "h": 120.2
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#6F8317
secondary
#553FB7
accent
#3BED5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8317

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

Preview Lab → · Contrast checker → · Palette generator →

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