#3A8318#3A8318

#3A8318 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.155 H 138.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A8318
RGBrgb(58, 131, 24)
HSLhsl(101, 69%, 30%)
HSVhsv(101, 82%, 51%)
CMYKcmyk(55.7%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.51, -41.81, 46.70)
CIE-LCHlch(48.51, 62.68, 131.83°)
OKLaboklab(54.23% -0.1156 0.1037)
OKLCHoklch(54.23% 0.155 138.1)
XYZxyz(10.0257, 17.1973, 3.6551)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8318 #611883
analogous
#6F8318 #3A8318 #18832C
triadic
#3A8318 #183A83 #83183A
tetradic
#3A8318 #186F83 #611883 #832C18
square
#3A8318 #186F83 #611883 #832C18
split-complementary
#3A8318 #2C1883 #83186F
monochromatic
#0C1C05 #234F0F #3A8318 #51B721 #6DDB3A

Accessibility & contrast

On white

4.73
#3A8318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3A8318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8318
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8318#FFFFFF#000000##FFFFFF
##3A83181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#347E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a8318;
/* rgb */ color: rgb(58, 131, 24);
/* oklch */ color: oklch(54.2% 0.155 138.1);
Tailwind
colors: {
  custom: {
    50: '#79a85f',
    500: '#3a8318',
    950: '#000000',
  },
}
SCSS
$custom: #3a8318;
$custom-light: #79a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8318",
  "rgb": {
    "r": 58,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 100.935,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.1553,
    "h": 138.1
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#3A8318
secondary
#9140B7
accent
#3CECB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8318

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

Preview Lab → · Contrast checker → · Palette generator →

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