#6F8A1A#6F8A1A

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

Color values

HEX#6F8A1A
RGBrgb(111, 138, 26)
HSLhsl(74, 68%, 32%)
HSVhsv(74, 81%, 54%)
CMYKcmyk(19.6%, 0%, 81.2%, 45.9%)
CIE-LABlab(53.63, -25.04, 51.85)
CIE-LCHlch(53.63, 57.58, 115.78°)
OKLaboklab(59.18% -0.0737 0.1136)
OKLCHoklch(59.18% 0.135 123)
XYZxyz(15.8307, 21.6310, 4.3183)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A1A #351A8A
analogous
#8A6D1A #6F8A1A #378A1A
triadic
#6F8A1A #1A6F8A #8A1A6F
tetradic
#6F8A1A #1A8A6D #351A8A #8A1A37
square
#6F8A1A #1A8A6D #351A8A #8A1A37
split-complementary
#6F8A1A #1A378A #6D1A8A
monochromatic
#1C2307 #465710 #6F8A1A #98BD24 #B7DC43

Accessibility & contrast

On white

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

On black

5.33
#6F8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A1A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A1A#FFFFFF#000000##000000
##6F8A1A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f8a1a;
/* rgb */ color: rgb(111, 138, 26);
/* oklch */ color: oklch(59.2% 0.135 123.0);
Tailwind
colors: {
  custom: {
    50: '#9cac61',
    500: '#6f8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a1a;
$custom-light: #9cac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a1a",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 74.464,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59178,
    "c": 0.13538,
    "h": 123
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#6F8A1A
secondary
#6043BD
accent
#3DEB67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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