#3A801F#3A801F

#3A801F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.148 H 138.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A801F
RGBrgb(58, 128, 31)
HSLhsl(103, 61%, 31%)
HSVhsv(103, 76%, 50%)
CMYKcmyk(54.7%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.54, -40.14, 43.31)
CIE-LCHlch(47.54, 59.05, 132.82°)
OKLaboklab(53.44% -0.1107 0.0976)
OKLCHoklch(53.44% 0.148 138.6)
XYZxyz(9.7111, 16.4361, 3.9568)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A801F #651F80
analogous
#6A801F #3A801F #1F8034
triadic
#3A801F #1F3A80 #801F3A
tetradic
#3A801F #1F6A80 #651F80 #80341F
square
#3A801F #1F6A80 #651F80 #80341F
split-complementary
#3A801F #341F80 #801F6A
monochromatic
#0D1D07 #244F13 #3A801F #50B12B #6ED247

Accessibility & contrast

On white

4.90
#3A801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3A801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A801F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A801F#FFFFFF#000000##FFFFFF
##3A801F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#347B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a801f;
/* rgb */ color: rgb(58, 128, 31);
/* oklch */ color: oklch(53.4% 0.148 138.6);
Tailwind
colors: {
  custom: {
    50: '#78a562',
    500: '#3a801f',
    950: '#000000',
  },
}
SCSS
$custom: #3a801f;
$custom-light: #78a562;
$custom-dark: #000000;
JSON
{
  "hex": "#3a801f",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 103.299,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.14762,
    "h": 138.6
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#3A801F
secondary
#9548B3
accent
#44E4B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #3A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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