#3A8110#3A8110

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

Color values

HEX#3A8110
RGBrgb(58, 129, 16)
HSLhsl(98, 78%, 28%)
HSVhsv(98, 88%, 51%)
CMYKcmyk(55%, 0%, 87.6%, 49.4%)
CIE-LABlab(47.80, -41.43, 48.34)
CIE-LCHlch(47.80, 63.66, 130.60°)
OKLaboklab(53.63% -0.1151 0.1059)
OKLCHoklch(53.63% 0.156 137.4)
XYZxyz(9.6884, 16.6367, 3.1908)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8110 #571081
analogous
#728110 #3A8110 #10811E
triadic
#3A8110 #103A81 #81103A
tetradic
#3A8110 #107281 #571081 #811E10
square
#3A8110 #107281 #571081 #811E10
split-complementary
#3A8110 #1E1081 #811072
monochromatic
#0C1B03 #224B09 #3A8110 #52B717 #6DE427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8110#FFFFFF#000000##FFFFFF
##3A81101.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)
#7C6F1F
Tritanopia (blue-blind)
#357C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8110;
/* rgb */ color: rgb(58, 129, 16);
/* oklch */ color: oklch(53.6% 0.156 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a65b',
    500: '#3a8110',
    950: '#000000',
  },
}
SCSS
$custom: #3a8110;
$custom-light: #79a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8110",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 97.699,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.15638,
    "h": 137.4
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#3A8110
secondary
#8736B7
accent
#33F4AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A8110

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

Preview Lab → · Contrast checker → · Palette generator →

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