#3A7D14#3A7D14

#3A7D14 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.150 H 137.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A7D14
RGBrgb(58, 125, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 49%)
CMYKcmyk(53.6%, 0%, 84%, 51%)
CIE-LABlab(46.47, -39.65, 46.04)
CIE-LCHlch(46.47, 60.76, 130.73°)
OKLaboklab(52.54% -0.1101 0.1017)
OKLCHoklch(52.54% 0.15 137.3)
XYZxyz(9.2045, 15.6166, 3.1910)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D14 #57147D
analogous
#6E7D14 #3A7D14 #147D22
triadic
#3A7D14 #143A7D #7D143A
tetradic
#3A7D14 #146E7D #57147D #7D2214
square
#3A7D14 #146E7D #57147D #7D2214
split-complementary
#3A7D14 #22147D #7D146E
monochromatic
#0C1A04 #22480C #3A7D14 #52B21C #6DDE2E

Accessibility & contrast

On white

5.09
#3A7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D14
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D14#FFFFFF#000000##FFFFFF
##3A7D141.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d14;
/* rgb */ color: rgb(58, 125, 20);
/* oklch */ color: oklch(52.5% 0.150 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a35c',
    500: '#3a7d14',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d14;
$custom-light: #78a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d14",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 98.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.14983,
    "h": 137.3
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#3A7D14
secondary
#873AB2
accent
#39EFAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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