#3A7E11#3A7E11

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

Color values

HEX#3A7E11
RGBrgb(58, 126, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 87%, 49%)
CMYKcmyk(54%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.79, -40.20, 47.18)
CIE-LCHlch(46.79, 61.98, 130.43°)
OKLaboklab(52.8% -0.1117 0.1036)
OKLCHoklch(52.8% 0.152 137.2)
XYZxyz(9.3067, 15.8610, 3.1013)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E11 #55117E
analogous
#707E11 #3A7E11 #117E1E
triadic
#3A7E11 #113A7E #7E113A
tetradic
#3A7E11 #11707E #55117E #7E1E11
square
#3A7E11 #11707E #55117E #7E1E11
split-complementary
#3A7E11 #1E117E #7E1170
monochromatic
#0C1B04 #21480A #3A7E11 #53B418 #6EE227

Accessibility & contrast

On white

5.03
#3A7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A7E11
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E11#FFFFFF#000000##FFFFFF
##3A7E111.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e11;
/* rgb */ color: rgb(58, 126, 17);
/* oklch */ color: oklch(52.8% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a45b',
    500: '#3a7e11',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e11;
$custom-light: #78a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e11",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 97.431,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.15236,
    "h": 137.2
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#3A7E11
secondary
#8537B4
accent
#35F3AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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