#6F8A2A#6F8A2A

#6F8A2A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.125 H 123.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6F8A2A
RGBrgb(111, 138, 42)
HSLhsl(77, 53%, 35%)
HSVhsv(77, 70%, 54%)
CMYKcmyk(19.6%, 0%, 69.6%, 45.9%)
CIE-LABlab(53.73, -24.14, 46.13)
CIE-LCHlch(53.73, 52.06, 117.62°)
OKLaboklab(59.29% -0.0698 0.1043)
OKLCHoklch(59.29% 0.125 123.8)
XYZxyz(16.0621, 21.7235, 5.5369)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A2A #452A8A
analogous
#8A752A #6F8A2A #3F8A2A
triadic
#6F8A2A #2A6F8A #8A2A6F
tetradic
#6F8A2A #2A8A75 #452A8A #8A2A3F
square
#6F8A2A #2A8A75 #452A8A #8A2A3F
split-complementary
#6F8A2A #2A3F8A #752A8A
monochromatic
#242C0D #495B1C #6F8A2A #95B938 #AFCF60

Accessibility & contrast

On white

3.93
#6F8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6F8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A2A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A2A#FFFFFF#000000##000000
##6F8A2A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811C
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#748377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a2a;
/* rgb */ color: rgb(111, 138, 42);
/* oklch */ color: oklch(59.3% 0.125 123.8);
Tailwind
colors: {
  custom: {
    50: '#9bac69',
    500: '#6f8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a2a;
$custom-light: #9bac69;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a2a",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 76.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.12545,
    "h": 123.8
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#6F8A2A
secondary
#745BB4
accent
#4BDD74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6F8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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