#6F8115#6F8115

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

Color values

HEX#6F8115
RGBrgb(111, 129, 21)
HSLhsl(70, 72%, 29%)
HSVhsv(70, 84%, 51%)
CMYKcmyk(14%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.84, -20.70, 50.84)
CIE-LCHlch(50.84, 54.89, 112.15°)
OKLaboklab(56.92% -0.0621 0.1106)
OKLCHoklch(56.92% 0.127 119.3)
XYZxyz(14.5415, 19.1343, 3.6365)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8115 #271581
analogous
#815D15 #6F8115 #398115
triadic
#6F8115 #156F81 #81156F
tetradic
#6F8115 #15815D #271581 #811539
square
#6F8115 #15815D #271581 #811539
split-complementary
#6F8115 #153981 #5D1581
monochromatic
#171A04 #424C0C #6F8115 #9CB61E #C1DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8115#FFFFFF#000000##000000
##6F81151.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)
#887920
Tritanopia (blue-blind)
#767A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6f8115;
/* rgb */ color: rgb(111, 129, 21);
/* oklch */ color: oklch(56.9% 0.127 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ca55e',
    500: '#6f8115',
    950: '#000000',
  },
}
SCSS
$custom: #6f8115;
$custom-light: #9ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8115",
  "rgb": {
    "r": 111,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 70,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.12683,
    "h": 119.3
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#6F8115
secondary
#503CB6
accent
#39EF57
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8115

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

Preview Lab → · Contrast checker → · Palette generator →

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