#3A8310#3A8310

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

Color values

HEX#3A8310
RGBrgb(58, 131, 16)
HSLhsl(98, 78%, 29%)
HSVhsv(98, 88%, 51%)
CMYKcmyk(55.7%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.47, -42.21, 48.93)
CIE-LCHlch(48.47, 64.62, 130.78°)
OKLaboklab(54.19% -0.1172 0.1072)
OKLCHoklch(54.19% 0.159 137.6)
XYZxyz(9.9544, 17.1688, 3.2795)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8310 #591083
analogous
#748310 #3A8310 #108320
triadic
#3A8310 #103A83 #83103A
tetradic
#3A8310 #107483 #591083 #832010
square
#3A8310 #107483 #591083 #832010
split-complementary
#3A8310 #201083 #831074
monochromatic
#0C1B03 #224C09 #3A8310 #52BA17 #6DE529

Accessibility & contrast

On white

4.74
#3A8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3A8310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8310
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8310#FFFFFF#000000##FFFFFF
##3A83101.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8310;
/* rgb */ color: rgb(58, 131, 16);
/* oklch */ color: oklch(54.2% 0.159 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a85c',
    500: '#3a8310',
    950: '#000000',
  },
}
SCSS
$custom: #3a8310;
$custom-light: #79a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8310",
  "rgb": {
    "r": 58,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 98.087,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.15877,
    "h": 137.6
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#3A8310
secondary
#8936B9
accent
#33F5AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1004
muted
#7C7F79

Preview Lab

Preview with #3A8310

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

Preview Lab → · Contrast checker → · Palette generator →

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