#6A8019#6A8019

#6A8019 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.126 H 121.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A8019
RGBrgb(106, 128, 25)
HSLhsl(73, 67%, 30%)
HSVhsv(73, 80%, 50%)
CMYKcmyk(17.2%, 0%, 80.5%, 49.8%)
CIE-LABlab(50.18, -22.23, 48.89)
CIE-LCHlch(50.18, 53.71, 114.45°)
OKLaboklab(56.3% -0.0658 0.1073)
OKLCHoklch(56.3% 0.126 121.5)
XYZxyz(13.8387, 18.5727, 3.7754)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8019 #2F1980
analogous
#806319 #6A8019 #368019
triadic
#6A8019 #196A80 #80196A
tetradic
#6A8019 #198063 #2F1980 #801936
square
#6A8019 #198063 #2F1980 #801936
split-complementary
#6A8019 #193680 #631980
monochromatic
#151A05 #404D0F #6A8019 #94B323 #B7D93B

Accessibility & contrast

On white

4.45
#6A8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6A8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8019
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8019#FFFFFF#000000##000000
##6A80191.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#867723
Tritanopia (blue-blind)
#70796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a8019;
/* rgb */ color: rgb(106, 128, 25);
/* oklch */ color: oklch(56.3% 0.126 121.5);
Tailwind
colors: {
  custom: {
    50: '#98a45f',
    500: '#6a8019',
    950: '#000000',
  },
}
SCSS
$custom: #6a8019;
$custom-light: #98a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8019",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 72.816,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.12586,
    "h": 121.5
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#6A8019
secondary
#5941B4
accent
#3EEA62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8019

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

Preview Lab → · Contrast checker → · Palette generator →

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