#3A7E13#3A7E13

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

Color values

HEX#3A7E13
RGBrgb(58, 126, 19)
HSLhsl(98, 74%, 28%)
HSVhsv(98, 85%, 49%)
CMYKcmyk(54%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.80, -40.10, 46.64)
CIE-LCHlch(46.80, 61.51, 130.69°)
OKLaboklab(52.81% -0.1113 0.1028)
OKLCHoklch(52.81% 0.152 137.3)
XYZxyz(9.3230, 15.8676, 3.1874)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E13 #57137E
analogous
#6F7E13 #3A7E13 #137E21
triadic
#3A7E13 #133A7E #7E133A
tetradic
#3A7E13 #136F7E #57137E #7E2113
square
#3A7E13 #136F7E #57137E #7E2113
split-complementary
#3A7E13 #21137E #7E136F
monochromatic
#0C1B04 #22490B #3A7E13 #52B31B #6DDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7E13#FFFFFF#000000##FFFFFF
##3A7E131.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)
#7A6D20
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e13;
/* rgb */ color: rgb(58, 126, 19);
/* oklch */ color: oklch(52.8% 0.152 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a45c',
    500: '#3a7e13',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e13;
$custom-light: #78a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e13",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 98.131,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.15151,
    "h": 137.3
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#3A7E13
secondary
#8739B4
accent
#37F0AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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