#3A702B#3A702B

#3A702B is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.116 H 139.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3A702B
RGBrgb(58, 112, 43)
HSLhsl(107, 45%, 30%)
HSVhsv(107, 62%, 44%)
CMYKcmyk(48.2%, 0%, 61.6%, 56.1%)
CIE-LABlab(42.25, -32.18, 32.27)
CIE-LCHlch(42.25, 45.58, 134.92°)
OKLaboklab(49.13% -0.0883 0.0758)
OKLCHoklch(49.13% 0.116 139.4)
XYZxyz(7.9748, 12.6618, 4.3088)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A702B #612B70
analogous
#5C702B #3A702B #2B703F
triadic
#3A702B #2B3A70 #702B3A
tetradic
#3A702B #2B5C70 #612B70 #703F2B
square
#3A702B #2B5C70 #612B70 #703F2B
split-complementary
#3A702B #3F2B70 #702B5C
monochromatic
#0C1809 #23441A #3A702B #519C3C #6DBE57

Accessibility & contrast

On white

5.94
#3A702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3A702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A702B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A702B#FFFFFF#000000##FFFFFF
##3A702B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736724
Deuteranopia (green-blind)
#6C6230
Tritanopia (blue-blind)
#366C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a702b;
/* rgb */ color: rgb(58, 112, 43);
/* oklch */ color: oklch(49.1% 0.116 139.4);
Tailwind
colors: {
  custom: {
    50: '#759967',
    500: '#3a702b',
    950: '#000000',
  },
}
SCSS
$custom: #3a702b;
$custom-light: #759967;
$custom-dark: #000000;
JSON
{
  "hex": "#3a702b",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 106.957,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.11642,
    "h": 139.4
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#3A702B
secondary
#9155A2
accent
#54D4B8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3A702B

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

Preview Lab → · Contrast checker → · Palette generator →

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