#3A7F18#3A7F18

#3A7F18 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.150 H 137.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7F18
RGBrgb(58, 127, 24)
HSLhsl(100, 68%, 30%)
HSVhsv(100, 81%, 50%)
CMYKcmyk(54.3%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.16, -40.22, 45.43)
CIE-LCHlch(47.16, 60.68, 131.52°)
OKLaboklab(53.12% -0.1114 0.101)
OKLCHoklch(53.12% 0.15 137.8)
XYZxyz(9.4988, 16.1435, 3.4794)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F18 #5D187F
analogous
#6E7F18 #3A7F18 #187F29
triadic
#3A7F18 #183A7F #7F183A
tetradic
#3A7F18 #186E7F #5D187F #7F2918
square
#3A7F18 #186E7F #5D187F #7F2918
split-complementary
#3A7F18 #29187F #7F186E
monochromatic
#0C1A05 #224C0E #3A7F18 #52B222 #6DD938

Accessibility & contrast

On white

4.97
#3A7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F18#FFFFFF#000000##FFFFFF
##3A7F181.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f18;
/* rgb */ color: rgb(58, 127, 24);
/* oklch */ color: oklch(53.1% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#3a7f18',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f18;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f18",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 100.194,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.15036,
    "h": 137.8
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#3A7F18
secondary
#8D3FB3
accent
#3DEBB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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