#6F8718#6F8718

#6F8718 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.133 H 121.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6F8718
RGBrgb(111, 135, 24)
HSLhsl(73, 70%, 31%)
HSVhsv(73, 82%, 53%)
CMYKcmyk(17.8%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.70, -23.63, 51.62)
CIE-LCHlch(52.70, 56.77, 114.60°)
OKLaboklab(58.42% -0.0699 0.1127)
OKLCHoklch(58.42% 0.133 121.8)
XYZxyz(15.3846, 20.7734, 4.0631)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8718 #301887
analogous
#876718 #6F8718 #378718
triadic
#6F8718 #186F87 #87186F
tetradic
#6F8718 #188767 #301887 #871837
square
#6F8718 #188767 #301887 #871837
split-complementary
#6F8718 #183787 #671887
monochromatic
#1A1F06 #44530F #6F8718 #9ABB21 #BADC3D

Accessibility & contrast

On white

4.07
#6F8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6F8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8718
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8718#FFFFFF#000000##000000
##6F87181.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#758073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f8718;
/* rgb */ color: rgb(111, 135, 24);
/* oklch */ color: oklch(58.4% 0.133 121.8);
Tailwind
colors: {
  custom: {
    50: '#9caa60',
    500: '#6f8718',
    950: '#000000',
  },
}
SCSS
$custom: #6f8718;
$custom-light: #9caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8718",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 72.973,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.13268,
    "h": 121.8
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#6F8718
secondary
#5B40BB
accent
#3BED62
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8718

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

Preview Lab → · Contrast checker → · Palette generator →

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