#3A8A23#3A8A23

#3A8A23 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 139.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A8A23
RGBrgb(58, 138, 35)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 54%)
CMYKcmyk(58%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.92, -43.77, 45.17)
CIE-LCHlch(50.92, 62.90, 134.10°)
OKLaboklab(56.24% -0.1203 0.1021)
OKLCHoklch(56.24% 0.158 139.7)
XYZxyz(11.1363, 19.1969, 4.7083)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A23 #73238A
analogous
#6E8A23 #3A8A23 #238A40
triadic
#3A8A23 #233A8A #8A233A
tetradic
#3A8A23 #236E8A #73238A #8A4023
square
#3A8A23 #236E8A #73238A #8A4023
split-complementary
#3A8A23 #40238A #8A236E
monochromatic
#11280A #255917 #3A8A23 #4FBB2F #70D454

Accessibility & contrast

On white

4.34
#3A8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A23#FFFFFF#000000##000000
##3A8A231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a23;
/* rgb */ color: rgb(58, 138, 35);
/* oklch */ color: oklch(56.2% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#7aad65',
    500: '#3a8a23',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a23;
$custom-light: #7aad65;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a23",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 106.602,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.15776,
    "h": 139.7
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#3A8A23
secondary
#A151B7
accent
#45E3C0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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