#3A6011#3A6011

#3A6011 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.114 H 132.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A6011
RGBrgb(58, 96, 17)
HSLhsl(89, 70%, 22%)
HSVhsv(89, 82%, 38%)
CMYKcmyk(39.6%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.57, -27.17, 37.78)
CIE-LCHlch(36.57, 46.54, 125.72°)
OKLaboklab(44.4% -0.0767 0.0838)
OKLCHoklch(44.4% 0.114 132.5)
XYZxyz(6.0289, 9.3055, 2.0087)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6011 #371160
analogous
#605F11 #3A6011 #126011
triadic
#3A6011 #113A60 #60113A
tetradic
#3A6011 #11605F #371160 #601112
square
#3A6011 #11605F #371160 #601112
split-complementary
#3A6011 #111260 #5F1160
monochromatic
#101A05 #1B2C08 #3A6011 #59941A #79C823

Accessibility & contrast

On white

7.34
#3A6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A6011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6011
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6011#FFFFFF#000000##FFFFFF
##3A60111.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#3B5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a6011;
/* rgb */ color: rgb(58, 96, 17);
/* oklch */ color: oklch(44.4% 0.114 132.5);
Tailwind
colors: {
  custom: {
    50: '#748d56',
    500: '#3a6011',
    950: '#000000',
  },
}
SCSS
$custom: #3a6011;
$custom-light: #748d56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6011",
  "rgb": {
    "r": 58,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 88.861,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.11367,
    "h": 132.5
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#3A6011
secondary
#643499
accent
#3BED91
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A6011

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

Preview Lab → · Contrast checker → · Palette generator →

#3A6011 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva