#3A7D11#3A7D11

#3A7D11 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.151 H 137.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3A7D11
RGBrgb(58, 125, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 86%, 49%)
CMYKcmyk(53.6%, 0%, 86.4%, 51%)
CIE-LABlab(46.45, -39.80, 46.88)
CIE-LCHlch(46.45, 61.49, 130.33°)
OKLaboklab(52.52% -0.1106 0.103)
OKLCHoklch(52.52% 0.151 137.1)
XYZxyz(9.1794, 15.6066, 3.0589)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D11 #54117D
analogous
#707D11 #3A7D11 #117D1E
triadic
#3A7D11 #113A7D #7D113A
tetradic
#3A7D11 #11707D #54117D #7D1E11
square
#3A7D11 #11707D #54117D #7D1E11
split-complementary
#3A7D11 #1E117D #7D1170
monochromatic
#0C1B04 #21470A #3A7D11 #53B318 #6EE227

Accessibility & contrast

On white

5.10
#3A7D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A7D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D11
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D11#FFFFFF#000000##FFFFFF
##3A7D111.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#36786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d11;
/* rgb */ color: rgb(58, 125, 17);
/* oklch */ color: oklch(52.5% 0.151 137.1);
Tailwind
colors: {
  custom: {
    50: '#78a35b',
    500: '#3a7d11',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d11;
$custom-light: #78a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d11",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 97.222,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.15115,
    "h": 137.1
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#3A7D11
secondary
#8437B3
accent
#35F3AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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