#6F8020#6F8020

#6F8020 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.7% C 0.120 H 119.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6F8020
RGBrgb(111, 128, 32)
HSLhsl(71, 60%, 31%)
HSVhsv(71, 75%, 50%)
CMYKcmyk(13.3%, 0%, 75%, 49.8%)
CIE-LABlab(50.60, -19.67, 46.96)
CIE-LCHlch(50.60, 50.91, 112.72°)
OKLaboklab(56.74% -0.0584 0.1043)
OKLCHoklch(56.74% 0.12 119.2)
XYZxyz(14.5357, 18.9222, 4.2528)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8020 #312080
analogous
#806120 #6F8020 #3F8020
triadic
#6F8020 #206F80 #80206F
tetradic
#6F8020 #208061 #312080 #80203F
square
#6F8020 #208061 #312080 #80203F
split-complementary
#6F8020 #203F80 #612080
monochromatic
#1A1E08 #454F14 #6F8020 #99B12C #B9D149

Accessibility & contrast

On white

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

On black

4.78
#6F8020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8020
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8020#FFFFFF#000000##000000
##6F80201.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780D
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8020;
/* rgb */ color: rgb(111, 128, 32);
/* oklch */ color: oklch(56.7% 0.120 119.2);
Tailwind
colors: {
  custom: {
    50: '#9ba463',
    500: '#6f8020',
    950: '#000000',
  },
}
SCSS
$custom: #6f8020;
$custom-light: #9ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8020",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 70.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.11956,
    "h": 119.2
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#6F8020
secondary
#5C49B3
accent
#45E361
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8020

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

Preview Lab → · Contrast checker → · Palette generator →

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