#3A701F#3A701F

#3A701F is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.126 H 137.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3A701F
RGBrgb(58, 112, 31)
HSLhsl(100, 57%, 28%)
HSVhsv(100, 72%, 44%)
CMYKcmyk(48.2%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.13, -33.42, 37.78)
CIE-LCHlch(42.13, 50.44, 131.50°)
OKLaboklab(49% -0.0926 0.0861)
OKLCHoklch(49% 0.126 137.1)
XYZxyz(7.7862, 12.5863, 3.3152)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A701F #551F70
analogous
#62701F #3A701F #1F702C
triadic
#3A701F #1F3A70 #701F3A
tetradic
#3A701F #1F6270 #551F70 #702C1F
square
#3A701F #1F6270 #551F70 #702C1F
split-complementary
#3A701F #2C1F70 #701F62
monochromatic
#0C1807 #214012 #3A701F #53A02C #6ECA3F

Accessibility & contrast

On white

5.97
#3A701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3A701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A701F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A701F#FFFFFF#000000##FFFFFF
##3A701F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#376C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a701f;
/* rgb */ color: rgb(58, 112, 31);
/* oklch */ color: oklch(49.0% 0.126 137.1);
Tailwind
colors: {
  custom: {
    50: '#759960',
    500: '#3a701f',
    950: '#000000',
  },
}
SCSS
$custom: #3a701f;
$custom-light: #759960;
$custom-dark: #000000;
JSON
{
  "hex": "#3a701f",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 100,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.12639,
    "h": 137.1
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#3A701F
secondary
#8547A4
accent
#48E0AD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A701F

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

Preview Lab → · Contrast checker → · Palette generator →

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