#3A7E0E#3A7E0E

#3A7E0E is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.8% C 0.154 H 137.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3A7E0E
RGBrgb(58, 126, 14)
HSLhsl(96, 80%, 27%)
HSVhsv(96, 89%, 49%)
CMYKcmyk(54%, 0%, 88.9%, 50.6%)
CIE-LABlab(46.78, -40.33, 47.93)
CIE-LCHlch(46.78, 62.64, 130.08°)
OKLaboklab(52.79% -0.1122 0.1048)
OKLCHoklch(52.79% 0.154 137)
XYZxyz(9.2848, 15.8523, 2.9859)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E0E #520E7E
analogous
#727E0E #3A7E0E #0E7E1A
triadic
#3A7E0E #0E3A7E #7E0E3A
tetradic
#3A7E0E #0E727E #520E7E #7E1A0E
square
#3A7E0E #0E727E #520E7E #7E1A0E
split-complementary
#3A7E0E #1A0E7E #7E0E72
monochromatic
#0D1C03 #214708 #3A7E0E #53B514 #6EE620

Accessibility & contrast

On white

5.04
#3A7E0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A7E0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E0E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E0E#FFFFFF#000000##FFFFFF
##3A7E0E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837200
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#36796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e0e;
/* rgb */ color: rgb(58, 126, 14);
/* oklch */ color: oklch(52.8% 0.154 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a45a',
    500: '#3a7e0e',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e0e;
$custom-light: #78a45a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e0e",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 14
  },
  "hsl": {
    "h": 96.429,
    "s": 80,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.15351,
    "h": 137
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#3A7E0E
secondary
#8233B5
accent
#31F6A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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