#3A8413#3A8413

#3A8413 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.159 H 137.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A8413
RGBrgb(58, 132, 19)
HSLhsl(99, 75%, 30%)
HSVhsv(99, 86%, 52%)
CMYKcmyk(56.1%, 0%, 85.6%, 48.2%)
CIE-LABlab(48.82, -42.47, 48.47)
CIE-LCHlch(48.82, 64.44, 131.22°)
OKLaboklab(54.48% -0.1177 0.1066)
OKLCHoklch(54.48% 0.159 137.8)
XYZxyz(10.1134, 17.4483, 3.4509)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8413 #5D1384
analogous
#738413 #3A8413 #138425
triadic
#3A8413 #133A84 #84133A
tetradic
#3A8413 #137384 #5D1384 #842513
square
#3A8413 #137384 #5D1384 #842513
split-complementary
#3A8413 #251384 #841373
monochromatic
#0C1B04 #224F0B #3A8413 #52B91B #6DE130

Accessibility & contrast

On white

4.68
#3A8413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A8413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8413
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8413#FFFFFF#000000##FFFFFF
##3A84131.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#347F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8413;
/* rgb */ color: rgb(58, 132, 19);
/* oklch */ color: oklch(54.5% 0.159 137.8);
Tailwind
colors: {
  custom: {
    50: '#79a85d',
    500: '#3a8413',
    950: '#000000',
  },
}
SCSS
$custom: #3a8413;
$custom-light: #79a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8413",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 19
  },
  "hsl": {
    "h": 99.292,
    "s": 74.834,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.15879,
    "h": 137.8
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#3A8413
secondary
#8D3AB9
accent
#36F1B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8413

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

Preview Lab → · Contrast checker → · Palette generator →

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