#6F8A2F#6F8A2F

#6F8A2F is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.122 H 124.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6F8A2F
RGBrgb(111, 138, 47)
HSLhsl(78, 49%, 36%)
HSVhsv(78, 66%, 54%)
CMYKcmyk(19.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(53.77, -23.77, 44.03)
CIE-LCHlch(53.77, 50.04, 118.36°)
OKLaboklab(59.34% -0.0683 0.1006)
OKLCHoklch(59.34% 0.122 124.2)
XYZxyz(16.1572, 21.7616, 6.0380)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A2F #4A2F8A
analogous
#8A782F #6F8A2F #428A2F
triadic
#6F8A2F #2F6F8A #8A2F6F
tetradic
#6F8A2F #2F8A78 #4A2F8A #8A2F42
square
#6F8A2F #2F8A78 #4A2F8A #8A2F42
split-complementary
#6F8A2F #2F428A #782F8A
monochromatic
#262F10 #4A5C1F #6F8A2F #94B83F #AECC68

Accessibility & contrast

On white

3.92
#6F8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6F8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A2F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A2F#FFFFFF#000000##000000
##6F8A2F1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#748377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a2f;
/* rgb */ color: rgb(111, 138, 47);
/* oklch */ color: oklch(59.3% 0.122 124.2);
Tailwind
colors: {
  custom: {
    50: '#9bac6c',
    500: '#6f8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a2f;
$custom-light: #9bac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a2f",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 77.802,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.12157,
    "h": 124.2
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#6F8A2F
secondary
#7A62B3
accent
#4FD978
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6F8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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