#3A8115#3A8115

#3A8115 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.7% C 0.154 H 137.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8115
RGBrgb(58, 129, 21)
HSLhsl(99, 72%, 29%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(55%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.82, -41.19, 46.99)
CIE-LCHlch(47.82, 62.48, 131.24°)
OKLaboklab(53.66% -0.1142 0.1038)
OKLCHoklch(53.66% 0.154 137.7)
XYZxyz(9.7302, 16.6534, 3.4110)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8115 #5C1581
analogous
#708115 #3A8115 #158126
triadic
#3A8115 #153A81 #81153A
tetradic
#3A8115 #157081 #5C1581 #812615
square
#3A8115 #157081 #5C1581 #812615
split-complementary
#3A8115 #261581 #811570
monochromatic
#0C1A04 #224C0C #3A8115 #52B61E #6DDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8115#FFFFFF#000000##FFFFFF
##3A81151.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)
#7C6F22
Tritanopia (blue-blind)
#347C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8115;
/* rgb */ color: rgb(58, 129, 21);
/* oklch */ color: oklch(53.7% 0.154 137.7);
Tailwind
colors: {
  custom: {
    50: '#79a65d',
    500: '#3a8115',
    950: '#000000',
  },
}
SCSS
$custom: #3a8115;
$custom-light: #79a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8115",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 99.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.15429,
    "h": 137.7
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#3A8115
secondary
#8C3CB6
accent
#39EFB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8115

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

Preview Lab → · Contrast checker → · Palette generator →

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