#3A8414#3A8414

#3A8414 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.5% C 0.158 H 137.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A8414
RGBrgb(58, 132, 20)
HSLhsl(100, 74%, 30%)
HSVhsv(100, 85%, 52%)
CMYKcmyk(56.1%, 0%, 84.8%, 48.2%)
CIE-LABlab(48.82, -42.42, 48.19)
CIE-LCHlch(48.82, 64.20, 131.35°)
OKLaboklab(54.48% -0.1175 0.1062)
OKLCHoklch(54.48% 0.158 137.9)
XYZxyz(10.1221, 17.4518, 3.4968)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8414 #5E1484
analogous
#728414 #3A8414 #148426
triadic
#3A8414 #143A84 #84143A
tetradic
#3A8414 #147284 #5E1484 #842614
square
#3A8414 #147284 #5E1484 #842614
split-complementary
#3A8414 #261484 #841472
monochromatic
#0C1B04 #234F0C #3A8414 #51B91C #6DE032

Accessibility & contrast

On white

4.68
#3A8414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A8414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8414
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8414#FFFFFF#000000##FFFFFF
##3A84141.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#347F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8414;
/* rgb */ color: rgb(58, 132, 20);
/* oklch */ color: oklch(54.5% 0.158 137.9);
Tailwind
colors: {
  custom: {
    50: '#79a85d',
    500: '#3a8414',
    950: '#000000',
  },
}
SCSS
$custom: #3a8414;
$custom-light: #79a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8414",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 20
  },
  "hsl": {
    "h": 99.643,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.15838,
    "h": 137.9
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#3A8414
secondary
#8E3BB9
accent
#37F0B2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8414

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

Preview Lab → · Contrast checker → · Palette generator →

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