#3A7E14#3A7E14

#3A7E14 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.8% C 0.151 H 137.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A7E14
RGBrgb(58, 126, 20)
HSLhsl(98, 73%, 29%)
HSVhsv(98, 84%, 49%)
CMYKcmyk(54%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.80, -40.05, 46.35)
CIE-LCHlch(46.80, 61.26, 130.83°)
OKLaboklab(52.82% -0.1112 0.1023)
OKLCHoklch(52.82% 0.151 137.4)
XYZxyz(9.3317, 15.8711, 3.2334)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E14 #58147E
analogous
#6F7E14 #3A7E14 #147E23
triadic
#3A7E14 #143A7E #7E143A
tetradic
#3A7E14 #146F7E #58147E #7E2314
square
#3A7E14 #146F7E #58147E #7E2314
split-complementary
#3A7E14 #23147E #7E146F
monochromatic
#0C1A04 #22490C #3A7E14 #52B31C #6DDE2E

Accessibility & contrast

On white

5.03
#3A7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E14
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E14#FFFFFF#000000##FFFFFF
##3A7E141.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e14;
/* rgb */ color: rgb(58, 126, 20);
/* oklch */ color: oklch(52.8% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a45c',
    500: '#3a7e14',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e14;
$custom-light: #78a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e14",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 98.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.15107,
    "h": 137.4
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#3A7E14
secondary
#883AB3
accent
#38EFAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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