#6A8015#6A8015

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

Color values

HEX#6A8015
RGBrgb(106, 128, 21)
HSLhsl(72, 72%, 29%)
HSVhsv(72, 84%, 50%)
CMYKcmyk(17.2%, 0%, 83.6%, 49.8%)
CIE-LABlab(50.16, -22.41, 50.10)
CIE-LCHlch(50.16, 54.88, 114.10°)
OKLaboklab(56.28% -0.0665 0.1092)
OKLCHoklch(56.28% 0.128 121.4)
XYZxyz(13.7986, 18.5567, 3.5642)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8015 #2B1580
analogous
#806115 #6A8015 #358015
triadic
#6A8015 #156A80 #80156A
tetradic
#6A8015 #158061 #2B1580 #801535
square
#6A8015 #158061 #2B1580 #801535
split-complementary
#6A8015 #153580 #611580
monochromatic
#161A04 #3E4B0C #6A8015 #96B51E #BADD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8015#FFFFFF#000000##000000
##6A80151.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)
#867721
Tritanopia (blue-blind)
#70796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a8015;
/* rgb */ color: rgb(106, 128, 21);
/* oklch */ color: oklch(56.3% 0.128 121.4);
Tailwind
colors: {
  custom: {
    50: '#98a45e',
    500: '#6a8015',
    950: '#000000',
  },
}
SCSS
$custom: #6a8015;
$custom-light: #98a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8015",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 72.336,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.12784,
    "h": 121.4
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#6A8015
secondary
#553CB5
accent
#39EF5F
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8015

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

Preview Lab → · Contrast checker → · Palette generator →

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