#6F8A1F#6F8A1F

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

Color values

HEX#6F8A1F
RGBrgb(111, 138, 31)
HSLhsl(75, 63%, 33%)
HSVhsv(75, 78%, 54%)
CMYKcmyk(19.6%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.66, -24.80, 50.25)
CIE-LCHlch(53.66, 56.04, 116.27°)
OKLaboklab(59.21% -0.0726 0.1111)
OKLCHoklch(59.21% 0.133 123.2)
XYZxyz(15.8915, 21.6553, 4.6387)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A1F #3A1F8A
analogous
#8A6F1F #6F8A1F #398A1F
triadic
#6F8A1F #1F6F8A #8A1F6F
tetradic
#6F8A1F #1F8A6F #3A1F8A #8A1F39
square
#6F8A1F #1F8A6F #3A1F8A #8A1F39
split-complementary
#6F8A1F #1F398A #6F1F8A
monochromatic
#1F2609 #475814 #6F8A1F #97BC2A #B4D74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8A1F#FFFFFF#000000##000000
##6F8A1F1.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)
#928105
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a1f;
/* rgb */ color: rgb(111, 138, 31);
/* oklch */ color: oklch(59.2% 0.133 123.2);
Tailwind
colors: {
  custom: {
    50: '#9cac64',
    500: '#6f8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a1f;
$custom-light: #9cac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a1f",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 75.14,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13271,
    "h": 123.2
  },
  "luminance": 0.21655
}

Semantic roles & 50–950 ramp

primary
#6F8A1F
secondary
#674BBA
accent
#41E66B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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