#3A6112#3A6112

#3A6112 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.7% C 0.114 H 132.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3A6112
RGBrgb(58, 97, 18)
HSLhsl(90, 69%, 23%)
HSVhsv(90, 81%, 38%)
CMYKcmyk(40.2%, 0%, 81.4%, 62%)
CIE-LABlab(36.92, -27.58, 37.76)
CIE-LCHlch(36.92, 46.76, 126.15°)
OKLaboklab(44.69% -0.0778 0.084)
OKLCHoklch(44.69% 0.114 132.8)
XYZxyz(6.1287, 9.4923, 2.0814)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6112 #391261
analogous
#616012 #3A6112 #136112
triadic
#3A6112 #123A61 #61123A
tetradic
#3A6112 #126160 #391261 #611213
square
#3A6112 #126160 #391261 #611213
split-complementary
#3A6112 #121361 #601261
monochromatic
#0F1A05 #1B2D08 #3A6112 #59951C #78C825

Accessibility & contrast

On white

7.24
#3A6112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A6112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6112
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6112#FFFFFF#000000##FFFFFF
##3A61121.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#3A5D52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a6112;
/* rgb */ color: rgb(58, 97, 18);
/* oklch */ color: oklch(44.7% 0.114 132.8);
Tailwind
colors: {
  custom: {
    50: '#748e57',
    500: '#3a6112',
    950: '#000000',
  },
}
SCSS
$custom: #3a6112;
$custom-light: #748e57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6112",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 89.62,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.11446,
    "h": 132.8
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#3A6112
secondary
#673699
accent
#3CEC93
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A6112

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

Preview Lab → · Contrast checker → · Palette generator →

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