#3A901B#3A901B

#3A901B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.169 H 139.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3A901B
RGBrgb(58, 144, 27)
HSLhsl(104, 68%, 34%)
HSVhsv(104, 81%, 56%)
CMYKcmyk(59.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.87, -46.59, 49.86)
CIE-LCHlch(52.87, 68.24, 133.06°)
OKLaboklab(57.83% -0.1283 0.1107)
OKLCHoklch(57.83% 0.169 139.2)
XYZxyz(11.9155, 20.9241, 4.4475)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A901B #711B90
analogous
#74901B #3A901B #1B9037
triadic
#3A901B #1B3A90 #901B3A
tetradic
#3A901B #1B7490 #711B90 #90371B
square
#3A901B #1B7490 #711B90 #90371B
split-complementary
#3A901B #371B90 #901B74
monochromatic
#102908 #255C11 #3A901B #4FC425 #70DD49

Accessibility & contrast

On white

4.05
#3A901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3A901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A901B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A901B#FFFFFF#000000##000000
##3A901B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#308B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a901b;
/* rgb */ color: rgb(58, 144, 27);
/* oklch */ color: oklch(57.8% 0.169 139.2);
Tailwind
colors: {
  custom: {
    50: '#7bb162',
    500: '#3a901b',
    950: '#000000',
  },
}
SCSS
$custom: #3a901b;
$custom-light: #7bb162;
$custom-dark: #000000;
JSON
{
  "hex": "#3a901b",
  "rgb": {
    "r": 58,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 104.103,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.16949,
    "h": 139.2
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#3A901B
secondary
#9F48BF
accent
#3DEBBD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A901B

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

Preview Lab → · Contrast checker → · Palette generator →

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