#3A7E18#3A7E18

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

Color values

HEX#3A7E18
RGBrgb(58, 126, 24)
HSLhsl(100, 68%, 29%)
HSVhsv(100, 81%, 49%)
CMYKcmyk(54%, 0%, 81%, 50.6%)
CIE-LABlab(46.83, -39.82, 45.11)
CIE-LCHlch(46.83, 60.17, 131.43°)
OKLaboklab(52.84% -0.1103 0.1003)
OKLCHoklch(52.84% 0.149 137.7)
XYZxyz(9.3703, 15.8865, 3.4366)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E18 #5C187E
analogous
#6D7E18 #3A7E18 #187E29
triadic
#3A7E18 #183A7E #7E183A
tetradic
#3A7E18 #186D7E #5C187E #7E2918
square
#3A7E18 #186D7E #5C187E #7E2918
split-complementary
#3A7E18 #29187E #7E186D
monochromatic
#0C1A05 #224B0E #3A7E18 #52B122 #6DD937

Accessibility & contrast

On white

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

On black

4.18
#3A7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A7E18#FFFFFF#000000##FFFFFF
##3A7E181.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7e18;
/* rgb */ color: rgb(58, 126, 24);
/* oklch */ color: oklch(52.8% 0.149 137.7);
Tailwind
colors: {
  custom: {
    50: '#78a45e',
    500: '#3a7e18',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e18;
$custom-light: #78a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e18",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.14911,
    "h": 137.7
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#3A7E18
secondary
#8C3FB2
accent
#3DEBB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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