#3A8D23#3A8D23

#3A8D23 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.161 H 139.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A8D23
RGBrgb(58, 141, 35)
HSLhsl(107, 60%, 35%)
HSVhsv(107, 75%, 55%)
CMYKcmyk(58.9%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.92, -44.92, 46.18)
CIE-LCHlch(51.92, 64.43, 134.21°)
OKLaboklab(57.06% -0.1234 0.1042)
OKLCHoklch(57.06% 0.161 139.8)
XYZxyz(11.5727, 20.0696, 4.8538)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D23 #76238D
analogous
#6F8D23 #3A8D23 #238D41
triadic
#3A8D23 #233A8D #8D233A
tetradic
#3A8D23 #236F8D #76238D #8D4123
square
#3A8D23 #236F8D #76238D #8D4123
split-complementary
#3A8D23 #41238D #8D236F
monochromatic
#122B0B #265C17 #3A8D23 #4EBE2F #71D555

Accessibility & contrast

On white

4.19
#3A8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3A8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D23
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D23#FFFFFF#000000##000000
##3A8D231.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d23;
/* rgb */ color: rgb(58, 141, 35);
/* oklch */ color: oklch(57.1% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#7aaf65',
    500: '#3a8d23',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d23;
$custom-light: #7aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d23",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 106.981,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.16149,
    "h": 139.8
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#3A8D23
secondary
#A353B9
accent
#44E3C1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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