#6F8A18#6F8A18

#6F8A18 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.136 H 122.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6F8A18
RGBrgb(111, 138, 24)
HSLhsl(74, 70%, 32%)
HSVhsv(74, 83%, 54%)
CMYKcmyk(19.6%, 0%, 82.6%, 45.9%)
CIE-LABlab(53.62, -25.13, 52.44)
CIE-LCHlch(53.62, 58.15, 115.60°)
OKLaboklab(59.17% -0.074 0.1145)
OKLCHoklch(59.17% 0.136 122.9)
XYZxyz(15.8091, 21.6223, 4.2046)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A18 #33188A
analogous
#8A6C18 #6F8A18 #368A18
triadic
#6F8A18 #186F8A #8A186F
tetradic
#6F8A18 #188A6C #33188A #8A1836
square
#6F8A18 #188A6C #33188A #8A1836
split-complementary
#6F8A18 #18368A #6C188A
monochromatic
#1B2206 #45560F #6F8A18 #99BE21 #B8DE3F

Accessibility & contrast

On white

3.94
#6F8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6F8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A18
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A18#FFFFFF#000000##000000
##6F8A181.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#758375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a18;
/* rgb */ color: rgb(111, 138, 24);
/* oklch */ color: oklch(59.2% 0.136 122.9);
Tailwind
colors: {
  custom: {
    50: '#9cac61',
    500: '#6f8a18',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a18;
$custom-light: #9cac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a18",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 74.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.13634,
    "h": 122.9
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#6F8A18
secondary
#5E40BD
accent
#3BED65
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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