#3A7A14#3A7A14

#3A7A14 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.7% C 0.146 H 137.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3A7A14
RGBrgb(58, 122, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 48%)
CMYKcmyk(52.5%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.45, -38.43, 45.11)
CIE-LCHlch(45.45, 59.26, 130.43°)
OKLaboklab(51.7% -0.1068 0.0997)
OKLCHoklch(51.7% 0.146 137)
XYZxyz(8.8305, 14.8685, 3.0663)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7A14 #54147A
analogous
#6D7A14 #3A7A14 #147A21
triadic
#3A7A14 #143A7A #7A143A
tetradic
#3A7A14 #146D7A #54147A #7A2114
square
#3A7A14 #146D7A #54147A #7A2114
split-complementary
#3A7A14 #21147A #7A146D
monochromatic
#0C1A04 #21450B #3A7A14 #53AF1D #6EDC2C

Accessibility & contrast

On white

5.28
#3A7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3A7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7A14
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7A14#FFFFFF#000000##FFFFFF
##3A7A141.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#367567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7a14;
/* rgb */ color: rgb(58, 122, 20);
/* oklch */ color: oklch(51.7% 0.146 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a15c',
    500: '#3a7a14',
    950: '#000000',
  },
}
SCSS
$custom: #3a7a14;
$custom-light: #78a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7a14",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 97.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.14611,
    "h": 137
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#3A7A14
secondary
#843AB0
accent
#39EFAB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3A7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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