#6F8E18#6F8E18

#6F8E18 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.2% C 0.141 H 124.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6F8E18
RGBrgb(111, 142, 24)
HSLhsl(76, 71%, 33%)
HSVhsv(76, 83%, 56%)
CMYKcmyk(21.8%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.86, -27.09, 53.54)
CIE-LCHlch(54.86, 60.00, 116.84°)
OKLaboklab(60.17% -0.0794 0.1168)
OKLCHoklch(60.17% 0.141 124.2)
XYZxyz(16.3936, 22.7913, 4.3995)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8E18 #37188E
analogous
#8E7218 #6F8E18 #348E18
triadic
#6F8E18 #186F8E #8E186F
tetradic
#6F8E18 #188E72 #37188E #8E1834
square
#6F8E18 #188E72 #37188E #8E1834
split-complementary
#6F8E18 #18348E #72188E
monochromatic
#1D2506 #465A0F #6F8E18 #98C221 #B6DF41

Accessibility & contrast

On white

3.78
#6F8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#6F8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8E18
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8E18#FFFFFF#000000##000000
##6F8E181.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#758779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8e18;
/* rgb */ color: rgb(111, 142, 24);
/* oklch */ color: oklch(60.2% 0.141 124.2);
Tailwind
colors: {
  custom: {
    50: '#9caf61',
    500: '#6f8e18',
    950: '#000000',
  },
}
SCSS
$custom: #6f8e18;
$custom-light: #9caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8e18",
  "rgb": {
    "r": 111,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 75.763,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.14125,
    "h": 124.2
  },
  "luminance": 0.22791
}

Semantic roles & 50–950 ramp

primary
#6F8E18
secondary
#6342C0
accent
#3AEE69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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