#6F8022#6F8022

#6F8022 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.8% C 0.118 H 119.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6F8022
RGBrgb(111, 128, 34)
HSLhsl(71, 58%, 32%)
HSVhsv(71, 73%, 50%)
CMYKcmyk(13.3%, 0%, 73.4%, 49.8%)
CIE-LABlab(50.61, -19.55, 46.21)
CIE-LCHlch(50.61, 50.18, 112.94°)
OKLaboklab(56.75% -0.0579 0.1031)
OKLCHoklch(56.75% 0.118 119.3)
XYZxyz(14.5637, 18.9334, 4.4004)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8022 #332280
analogous
#806222 #6F8022 #408022
triadic
#6F8022 #226F80 #80226F
tetradic
#6F8022 #228062 #332280 #802240
square
#6F8022 #228062 #332280 #802240
split-complementary
#6F8022 #224080 #622280
monochromatic
#1B1F08 #455015 #6F8022 #99B02F #B8D04D

Accessibility & contrast

On white

4.39
#6F8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6F8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8022
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8022#FFFFFF#000000##000000
##6F80221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887911
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#76796E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8022;
/* rgb */ color: rgb(111, 128, 34);
/* oklch */ color: oklch(56.8% 0.118 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ba464',
    500: '#6f8022',
    950: '#000000',
  },
}
SCSS
$custom: #6f8022;
$custom-light: #9ba464;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8022",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 70.851,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.11824,
    "h": 119.3
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#6F8022
secondary
#5E4BB2
accent
#47E163
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8022

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

Preview Lab → · Contrast checker → · Palette generator →

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