#6B8019#6B8019

#6B8019 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.4% C 0.125 H 121.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B8019
RGBrgb(107, 128, 25)
HSLhsl(72, 67%, 30%)
HSVhsv(72, 80%, 50%)
CMYKcmyk(16.4%, 0%, 80.5%, 49.8%)
CIE-LABlab(50.26, -21.79, 48.99)
CIE-LCHlch(50.26, 53.61, 113.98°)
OKLaboklab(56.38% -0.0646 0.1075)
OKLCHoklch(56.38% 0.125 121)
XYZxyz(13.9583, 18.6343, 3.7810)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8019 #2E1980
analogous
#806119 #6B8019 #388019
triadic
#6B8019 #196B80 #80196B
tetradic
#6B8019 #198061 #2E1980 #801938
square
#6B8019 #198061 #2E1980 #801938
split-complementary
#6B8019 #193880 #611980
monochromatic
#151A05 #404D0F #6B8019 #96B323 #B8D93B

Accessibility & contrast

On white

4.44
#6B8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6B8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8019
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8019#FFFFFF#000000##000000
##6B80191.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#71796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8019;
/* rgb */ color: rgb(107, 128, 25);
/* oklch */ color: oklch(56.4% 0.125 121.0);
Tailwind
colors: {
  custom: {
    50: '#99a460',
    500: '#6b8019',
    950: '#000000',
  },
}
SCSS
$custom: #6b8019;
$custom-light: #99a460;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8019",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 72.233,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.1254,
    "h": 121
  },
  "luminance": 0.18634
}

Semantic roles & 50–950 ramp

primary
#6B8019
secondary
#5841B4
accent
#3EEA61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8019

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

Preview Lab → · Contrast checker → · Palette generator →

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