#3A8014#3A8014

#3A8014 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.154 H 137.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8014
RGBrgb(58, 128, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(54.7%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.48, -40.84, 46.97)
CIE-LCHlch(47.48, 62.24, 131.01°)
OKLaboklab(53.37% -0.1133 0.1036)
OKLCHoklch(53.37% 0.154 137.6)
XYZxyz(9.5900, 16.3876, 3.3195)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8014 #5A1480
analogous
#708014 #3A8014 #148024
triadic
#3A8014 #143A80 #80143A
tetradic
#3A8014 #147080 #5A1480 #802414
square
#3A8014 #147080 #5A1480 #802414
split-complementary
#3A8014 #241480 #801470
monochromatic
#0C1A04 #224B0C #3A8014 #52B51C #6DDF30

Accessibility & contrast

On white

4.91
#3A8014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8014
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8014#FFFFFF#000000##FFFFFF
##3A80141.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#357B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8014;
/* rgb */ color: rgb(58, 128, 20);
/* oklch */ color: oklch(53.4% 0.154 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#3a8014',
    950: '#000000',
  },
}
SCSS
$custom: #3a8014;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8014",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 98.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.15352,
    "h": 137.6
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#3A8014
secondary
#8A3BB5
accent
#38F0AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8014

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

Preview Lab → · Contrast checker → · Palette generator →

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