#3A8113#3A8113

#3A8113 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.155 H 137.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8113
RGBrgb(58, 129, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 51%)
CMYKcmyk(55%, 0%, 85.3%, 49.4%)
CIE-LABlab(47.81, -41.29, 47.55)
CIE-LCHlch(47.81, 62.98, 130.97°)
OKLaboklab(53.65% -0.1145 0.1047)
OKLCHoklch(53.65% 0.155 137.6)
XYZxyz(9.7124, 16.6463, 3.3172)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8113 #5A1381
analogous
#718113 #3A8113 #138123
triadic
#3A8113 #133A81 #81133A
tetradic
#3A8113 #137181 #5A1381 #812313
square
#3A8113 #137181 #5A1381 #812313
split-complementary
#3A8113 #231381 #811371
monochromatic
#0C1B04 #224C0B #3A8113 #52B61B #6DE02E

Accessibility & contrast

On white

4.85
#3A8113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A8113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8113
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8113#FFFFFF#000000##FFFFFF
##3A81131.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#357C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8113;
/* rgb */ color: rgb(58, 129, 19);
/* oklch */ color: oklch(53.6% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a65c',
    500: '#3a8113',
    950: '#000000',
  },
}
SCSS
$custom: #3a8113;
$custom-light: #79a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8113",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 98.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.15518,
    "h": 137.6
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#3A8113
secondary
#8A3AB6
accent
#37F1AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8113

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

Preview Lab → · Contrast checker → · Palette generator →

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