#3A8F1B#3A8F1B

#3A8F1B is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.168 H 139.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A8F1B
RGBrgb(58, 143, 27)
HSLhsl(104, 68%, 33%)
HSVhsv(104, 81%, 56%)
CMYKcmyk(59.4%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.53, -46.22, 49.54)
CIE-LCHlch(52.53, 67.76, 133.01°)
OKLaboklab(57.56% -0.1273 0.1101)
OKLCHoklch(57.56% 0.168 139.2)
XYZxyz(11.7647, 20.6226, 4.3973)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F1B #701B8F
analogous
#748F1B #3A8F1B #1B8F36
triadic
#3A8F1B #1B3A8F #8F1B3A
tetradic
#3A8F1B #1B748F #701B8F #8F361B
square
#3A8F1B #1B748F #701B8F #8F361B
split-complementary
#3A8F1B #361B8F #8F1B74
monochromatic
#102808 #255C11 #3A8F1B #4FC225 #70DC48

Accessibility & contrast

On white

4.10
#3A8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3A8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F1B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F1B#FFFFFF#000000##000000
##3A8F1B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#308A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a8f1b;
/* rgb */ color: rgb(58, 143, 27);
/* oklch */ color: oklch(57.6% 0.168 139.2);
Tailwind
colors: {
  custom: {
    50: '#7bb162',
    500: '#3a8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f1b;
$custom-light: #7bb162;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f1b",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 103.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.16831,
    "h": 139.2
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

primary
#3A8F1B
secondary
#9E48BE
accent
#3DEBBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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