#6F8117#6F8117

#6F8117 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.9% C 0.126 H 119.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6F8117
RGBrgb(111, 129, 23)
HSLhsl(70, 70%, 30%)
HSVhsv(70, 82%, 51%)
CMYKcmyk(14%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.85, -20.62, 50.26)
CIE-LCHlch(50.85, 54.33, 112.31°)
OKLaboklab(56.93% -0.0618 0.1097)
OKLCHoklch(56.93% 0.126 119.4)
XYZxyz(14.5608, 19.1420, 3.7381)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8117 #291781
analogous
#815E17 #6F8117 #3A8117
triadic
#6F8117 #176F81 #81176F
tetradic
#6F8117 #17815E #291781 #81173A
square
#6F8117 #17815E #291781 #81173A
split-complementary
#6F8117 #173A81 #5E1781
monochromatic
#161A05 #424D0E #6F8117 #9CB520 #BFDB37

Accessibility & contrast

On white

4.35
#6F8117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6F8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8117
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8117#FFFFFF#000000##000000
##6F81171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#767A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6f8117;
/* rgb */ color: rgb(111, 129, 23);
/* oklch */ color: oklch(56.9% 0.126 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ca55f',
    500: '#6f8117',
    950: '#000000',
  },
}
SCSS
$custom: #6f8117;
$custom-light: #9ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8117",
  "rgb": {
    "r": 111,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 70.189,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.12589,
    "h": 119.4
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#6F8117
secondary
#533EB5
accent
#3BED59
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8117

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

Preview Lab → · Contrast checker → · Palette generator →

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