#3A7112#3A7112

#3A7112 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.136 H 135.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A7112
RGBrgb(58, 113, 18)
HSLhsl(95, 73%, 26%)
HSVhsv(95, 84%, 44%)
CMYKcmyk(48.7%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.39, -34.78, 42.89)
CIE-LCHlch(42.39, 55.22, 129.03°)
OKLaboklab(49.18% -0.0971 0.0947)
OKLCHoklch(49.18% 0.136 135.7)
XYZxyz(7.7590, 12.7530, 2.6249)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7112 #491271
analogous
#697112 #3A7112 #12711A
triadic
#3A7112 #123A71 #71123A
tetradic
#3A7112 #126971 #491271 #711A12
square
#3A7112 #126971 #491271 #711A12
split-complementary
#3A7112 #1A1271 #711269
monochromatic
#0E1A04 #1F3C0A #3A7112 #55A61A #70DB23

Accessibility & contrast

On white

5.91
#3A7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7112
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7112#FFFFFF#000000##FFFFFF
##3A71121.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#386C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7112;
/* rgb */ color: rgb(58, 113, 18);
/* oklch */ color: oklch(49.2% 0.136 135.7);
Tailwind
colors: {
  custom: {
    50: '#769a59',
    500: '#3a7112',
    950: '#000000',
  },
}
SCSS
$custom: #3a7112;
$custom-light: #769a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7112",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 94.737,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.13569,
    "h": 135.7
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#3A7112
secondary
#7837A8
accent
#39EFA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7112

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

Preview Lab → · Contrast checker → · Palette generator →

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