#6F8918#6F8918

#6F8918 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.9% C 0.135 H 122.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6F8918
RGBrgb(111, 137, 24)
HSLhsl(74, 70%, 32%)
HSVhsv(74, 82%, 54%)
CMYKcmyk(19%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.32, -24.63, 52.17)
CIE-LCHlch(53.32, 57.69, 115.28°)
OKLaboklab(58.92% -0.0727 0.1139)
OKLCHoklch(58.92% 0.135 122.5)
XYZxyz(15.6663, 21.3367, 4.1570)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8918 #321889
analogous
#896B18 #6F8918 #378918
triadic
#6F8918 #186F89 #89186F
tetradic
#6F8918 #18896B #321889 #891837
square
#6F8918 #18896B #321889 #891837
split-complementary
#6F8918 #183789 #6B1889
monochromatic
#1B2106 #45550F #6F8918 #99BD21 #B9DD3E

Accessibility & contrast

On white

3.99
#6F8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6F8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8918
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8918#FFFFFF#000000##000000
##6F89181.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#758275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f8918;
/* rgb */ color: rgb(111, 137, 24);
/* oklch */ color: oklch(58.9% 0.135 122.5);
Tailwind
colors: {
  custom: {
    50: '#9cab61',
    500: '#6f8918',
    950: '#000000',
  },
}
SCSS
$custom: #6f8918;
$custom-light: #9cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8918",
  "rgb": {
    "r": 111,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 73.805,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.13512,
    "h": 122.5
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#6F8918
secondary
#5D40BD
accent
#3BED64
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8918

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

Preview Lab → · Contrast checker → · Palette generator →

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