#6F8816#6F8816

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

Color values

HEX#6F8816
RGBrgb(111, 136, 22)
HSLhsl(73, 72%, 31%)
HSVhsv(73, 84%, 53%)
CMYKcmyk(18.4%, 0%, 83.8%, 46.7%)
CIE-LABlab(53.00, -24.21, 52.45)
CIE-LCHlch(53.00, 57.77, 114.78°)
OKLaboklab(58.66% -0.0717 0.1142)
OKLCHoklch(58.66% 0.135 122.1)
XYZxyz(15.5048, 21.0457, 4.0043)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8816 #2F1688
analogous
#886816 #6F8816 #368816
triadic
#6F8816 #166F88 #88166F
tetradic
#6F8816 #168868 #2F1688 #881636
square
#6F8816 #168868 #2F1688 #881636
split-complementary
#6F8816 #163688 #681688
monochromatic
#191F05 #44530D #6F8816 #9ABD1F #BBDF39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8816#FFFFFF#000000##000000
##6F88161.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)
#8E7F23
Tritanopia (blue-blind)
#758174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f8816;
/* rgb */ color: rgb(111, 136, 22);
/* oklch */ color: oklch(58.7% 0.135 122.1);
Tailwind
colors: {
  custom: {
    50: '#9caa60',
    500: '#6f8816',
    950: '#000000',
  },
}
SCSS
$custom: #6f8816;
$custom-light: #9caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8816",
  "rgb": {
    "r": 111,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 73.158,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.13482,
    "h": 122.1
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#6F8816
secondary
#593EBC
accent
#39EF61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F1005
muted
#7E7F79

Preview Lab

Preview with #6F8816

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

Preview Lab → · Contrast checker → · Palette generator →

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