#3A8219#3A8219

#3A8219 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.154 H 138.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A8219
RGBrgb(58, 130, 25)
HSLhsl(101, 68%, 30%)
HSVhsv(101, 81%, 51%)
CMYKcmyk(55.4%, 0%, 80.8%, 49%)
CIE-LABlab(48.18, -41.35, 46.07)
CIE-LCHlch(48.18, 61.90, 131.91°)
OKLaboklab(53.96% -0.1144 0.1025)
OKLCHoklch(53.96% 0.154 138.1)
XYZxyz(9.9027, 16.9342, 3.6663)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8219 #611982
analogous
#6E8219 #3A8219 #19822C
triadic
#3A8219 #193A82 #82193A
tetradic
#3A8219 #196E82 #611982 #822C19
square
#3A8219 #196E82 #611982 #822C19
split-complementary
#3A8219 #2C1982 #82196E
monochromatic
#0C1B05 #234F0F #3A8219 #51B523 #6DD93C

Accessibility & contrast

On white

4.79
#3A8219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A8219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8219
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8219#FFFFFF#000000##FFFFFF
##3A82191.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#347D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a8219;
/* rgb */ color: rgb(58, 130, 25);
/* oklch */ color: oklch(54.0% 0.154 138.1);
Tailwind
colors: {
  custom: {
    50: '#79a75f',
    500: '#3a8219',
    950: '#000000',
  },
}
SCSS
$custom: #3a8219;
$custom-light: #79a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8219",
  "rgb": {
    "r": 58,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 101.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.15357,
    "h": 138.1
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#3A8219
secondary
#9141B6
accent
#3DEBB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8219

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

Preview Lab → · Contrast checker → · Palette generator →

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