#3A7F14#3A7F14

#3A7F14 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.152 H 137.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7F14
RGBrgb(58, 127, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(54.3%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.14, -40.45, 46.66)
CIE-LCHlch(47.14, 61.75, 130.92°)
OKLaboklab(53.1% -0.1122 0.103)
OKLCHoklch(53.1% 0.152 137.5)
XYZxyz(9.4602, 16.1281, 3.2762)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F14 #59147F
analogous
#707F14 #3A7F14 #147F24
triadic
#3A7F14 #143A7F #7F143A
tetradic
#3A7F14 #14707F #59147F #7F2414
square
#3A7F14 #14707F #59147F #7F2414
split-complementary
#3A7F14 #24147F #7F1470
monochromatic
#0C1A04 #224A0C #3A7F14 #52B41C #6DDE2F

Accessibility & contrast

On white

4.97
#3A7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F14
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F14#FFFFFF#000000##FFFFFF
##3A7F141.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f14;
/* rgb */ color: rgb(58, 127, 20);
/* oklch */ color: oklch(53.1% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#3a7f14',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f14;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f14",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 98.692,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.1523,
    "h": 137.5
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#3A7F14
secondary
#893BB4
accent
#38EFAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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