#3A8313#3A8313

#3A8313 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.2% C 0.158 H 137.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A8313
RGBrgb(58, 131, 19)
HSLhsl(99, 75%, 29%)
HSVhsv(99, 85%, 51%)
CMYKcmyk(55.7%, 0%, 85.5%, 48.6%)
CIE-LABlab(48.48, -42.08, 48.16)
CIE-LCHlch(48.48, 63.95, 131.14°)
OKLaboklab(54.2% -0.1166 0.106)
OKLCHoklch(54.2% 0.158 137.7)
XYZxyz(9.9784, 17.1784, 3.4059)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8313 #5C1383
analogous
#728313 #3A8313 #138324
triadic
#3A8313 #133A83 #83133A
tetradic
#3A8313 #137283 #5C1383 #832413
square
#3A8313 #137283 #5C1383 #832413
split-complementary
#3A8313 #241383 #831372
monochromatic
#0C1B04 #224E0B #3A8313 #52B81B #6DE12F

Accessibility & contrast

On white

4.73
#3A8313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3A8313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8313
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8313#FFFFFF#000000##FFFFFF
##3A83131.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#347E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a8313;
/* rgb */ color: rgb(58, 131, 19);
/* oklch */ color: oklch(54.2% 0.158 137.7);
Tailwind
colors: {
  custom: {
    50: '#79a85d',
    500: '#3a8313',
    950: '#000000',
  },
}
SCSS
$custom: #3a8313;
$custom-light: #79a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8313",
  "rgb": {
    "r": 58,
    "g": 131,
    "b": 19
  },
  "hsl": {
    "h": 99.107,
    "s": 74.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.542,
    "c": 0.15759,
    "h": 137.7
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#3A8313
secondary
#8C3AB8
accent
#37F1B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8313

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

Preview Lab → · Contrast checker → · Palette generator →

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