#6A8014#6A8014

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

Color values

HEX#6A8014
RGBrgb(106, 128, 20)
HSLhsl(72, 73%, 29%)
HSVhsv(72, 84%, 50%)
CMYKcmyk(17.2%, 0%, 84.4%, 49.8%)
CIE-LABlab(50.16, -22.44, 50.38)
CIE-LCHlch(50.16, 55.15, 114.01°)
OKLaboklab(56.27% -0.0667 0.1096)
OKLCHoklch(56.27% 0.128 121.3)
XYZxyz(13.7896, 18.5530, 3.5163)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8014 #2A1480
analogous
#806014 #6A8014 #348014
triadic
#6A8014 #146A80 #80146A
tetradic
#6A8014 #148060 #2A1480 #801434
square
#6A8014 #148060 #2A1480 #801434
split-complementary
#6A8014 #143480 #601480
monochromatic
#161A04 #3E4B0C #6A8014 #96B51C #BBDF30

Accessibility & contrast

On white

4.46
#6A8014 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8014#FFFFFF#000000##000000
##6A80141.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a8014;
/* rgb */ color: rgb(106, 128, 20);
/* oklch */ color: oklch(56.3% 0.128 121.3);
Tailwind
colors: {
  custom: {
    50: '#98a45d',
    500: '#6a8014',
    950: '#000000',
  },
}
SCSS
$custom: #6a8014;
$custom-light: #98a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8014",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 72.222,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.12829,
    "h": 121.3
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#6A8014
secondary
#543BB5
accent
#38F05E
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8014

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

Preview Lab → · Contrast checker → · Palette generator →

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