#6F8B18#6F8B18

#6F8B18 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.4% C 0.138 H 123.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6F8B18
RGBrgb(111, 139, 24)
HSLhsl(75, 71%, 32%)
HSVhsv(75, 83%, 55%)
CMYKcmyk(20.1%, 0%, 82.7%, 45.5%)
CIE-LABlab(53.93, -25.62, 52.71)
CIE-LCHlch(53.93, 58.61, 115.92°)
OKLaboklab(59.42% -0.0754 0.1151)
OKLCHoklch(59.42% 0.138 123.2)
XYZxyz(15.9533, 21.9106, 4.2527)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8B18 #34188B
analogous
#8B6E18 #6F8B18 #358B18
triadic
#6F8B18 #186F8B #8B186F
tetradic
#6F8B18 #188B6E #34188B #8B1835
square
#6F8B18 #188B6E #34188B #8B1835
split-complementary
#6F8B18 #18358B #6E188B
monochromatic
#1C2306 #45570F #6F8B18 #99BF21 #B7DE3F

Accessibility & contrast

On white

3.90
#6F8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6F8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8B18
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8B18#FFFFFF#000000##000000
##6F8B181.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#758476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6f8b18;
/* rgb */ color: rgb(111, 139, 24);
/* oklch */ color: oklch(59.4% 0.138 123.2);
Tailwind
colors: {
  custom: {
    50: '#9cad61',
    500: '#6f8b18',
    950: '#000000',
  },
}
SCSS
$custom: #6f8b18;
$custom-light: #9cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8b18",
  "rgb": {
    "r": 111,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 74.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.13757,
    "h": 123.2
  },
  "luminance": 0.21911
}

Semantic roles & 50–950 ramp

primary
#6F8B18
secondary
#5F40BE
accent
#3AED66
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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