#3A7C11#3A7C11

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

Color values

HEX#3A7C11
RGBrgb(58, 124, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 86%, 49%)
CMYKcmyk(53.2%, 0%, 86.3%, 51.4%)
CIE-LABlab(46.12, -39.39, 46.58)
CIE-LCHlch(46.12, 61.00, 130.22°)
OKLaboklab(52.25% -0.1096 0.1023)
OKLCHoklch(52.25% 0.15 137)
XYZxyz(9.0535, 15.3546, 3.0169)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C11 #53117C
analogous
#707C11 #3A7C11 #117C1D
triadic
#3A7C11 #113A7C #7C113A
tetradic
#3A7C11 #11707C #53117C #7C1D11
square
#3A7C11 #11707C #53117C #7C1D11
split-complementary
#3A7C11 #1D117C #7C1170
monochromatic
#0D1B04 #21460A #3A7C11 #53B218 #6EE126

Accessibility & contrast

On white

5.16
#3A7C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A7C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C11
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C11#FFFFFF#000000##FFFFFF
##3A7C111.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#367769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7c11;
/* rgb */ color: rgb(58, 124, 17);
/* oklch */ color: oklch(52.2% 0.150 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a25b',
    500: '#3a7c11',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c11;
$custom-light: #78a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c11",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 97.009,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.14992,
    "h": 137
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#3A7C11
secondary
#8337B2
accent
#35F2AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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