#3A931F#3A931F

#3A931F is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.7% C 0.171 H 139.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3A931F
RGBrgb(58, 147, 31)
HSLhsl(106, 65%, 35%)
HSVhsv(106, 79%, 58%)
CMYKcmyk(60.5%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.88, -47.46, 49.54)
CIE-LCHlch(53.88, 68.60, 133.77°)
OKLaboklab(58.68% -0.1304 0.1106)
OKLCHoklch(58.68% 0.171 139.7)
XYZxyz(12.4254, 21.8648, 4.8616)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A931F #781F93
analogous
#74931F #3A931F #1F933E
triadic
#3A931F #1F3A93 #931F3A
tetradic
#3A931F #1F7493 #781F93 #933E1F
square
#3A931F #1F7493 #781F93 #933E1F
split-complementary
#3A931F #3E1F93 #931F74
monochromatic
#122E0A #266014 #3A931F #4EC62A #72DA52

Accessibility & contrast

On white

3.91
#3A931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#3A931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A931F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A931F#FFFFFF#000000##000000
##3A931F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#2F8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a931f;
/* rgb */ color: rgb(58, 147, 31);
/* oklch */ color: oklch(58.7% 0.171 139.7);
Tailwind
colors: {
  custom: {
    50: '#7bb364',
    500: '#3a931f',
    950: '#000000',
  },
}
SCSS
$custom: #3a931f;
$custom-light: #7bb364;
$custom-dark: #000000;
JSON
{
  "hex": "#3a931f",
  "rgb": {
    "r": 58,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 106.034,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.17104,
    "h": 139.7
  },
  "luminance": 0.21866
}

Semantic roles & 50–950 ramp

primary
#3A931F
secondary
#A450BE
accent
#40E8C1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A931F

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

Preview Lab → · Contrast checker → · Palette generator →

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