#6F8818#6F8818

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

Color values

HEX#6F8818
RGBrgb(111, 136, 24)
HSLhsl(73, 70%, 31%)
HSVhsv(73, 82%, 53%)
CMYKcmyk(18.4%, 0%, 82.4%, 46.7%)
CIE-LABlab(53.01, -24.13, 51.89)
CIE-LCHlch(53.01, 57.23, 114.94°)
OKLaboklab(58.67% -0.0713 0.1133)
OKLCHoklch(58.67% 0.134 122.2)
XYZxyz(15.5248, 21.0537, 4.1099)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8818 #311888
analogous
#886918 #6F8818 #378818
triadic
#6F8818 #186F88 #88186F
tetradic
#6F8818 #188869 #311888 #881837
square
#6F8818 #188869 #311888 #881837
split-complementary
#6F8818 #183788 #691888
monochromatic
#1A2006 #45540F #6F8818 #99BC21 #B9DD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6f8818;
/* rgb */ color: rgb(111, 136, 24);
/* oklch */ color: oklch(58.7% 0.134 122.2);
Tailwind
colors: {
  custom: {
    50: '#9caa60',
    500: '#6f8818',
    950: '#000000',
  },
}
SCSS
$custom: #6f8818;
$custom-light: #9caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8818",
  "rgb": {
    "r": 111,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 73.393,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.1339,
    "h": 122.2
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#6F8818
secondary
#5C40BC
accent
#3BED63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8818

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

Preview Lab → · Contrast checker → · Palette generator →

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