#3A7013#3A7013

#3A7013 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.134 H 135.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7013
RGBrgb(58, 112, 19)
HSLhsl(95, 71%, 26%)
HSVhsv(95, 83%, 44%)
CMYKcmyk(48.2%, 0%, 83%, 56.1%)
CIE-LABlab(42.05, -34.29, 42.26)
CIE-LCHlch(42.05, 54.42, 129.05°)
OKLaboklab(48.91% -0.0958 0.0936)
OKLCHoklch(48.91% 0.134 135.7)
XYZxyz(7.6564, 12.5344, 2.6319)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7013 #491370
analogous
#687013 #3A7013 #13701B
triadic
#3A7013 #133A70 #70133A
tetradic
#3A7013 #136870 #491370 #701B13
square
#3A7013 #136870 #491370 #701B13
split-complementary
#3A7013 #1B1370 #701368
monochromatic
#0E1A04 #1F3C0A #3A7013 #55A41C #70D925

Accessibility & contrast

On white

5.99
#3A7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7013
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7013#FFFFFF#000000##FFFFFF
##3A70131.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#386B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7013;
/* rgb */ color: rgb(58, 112, 19);
/* oklch */ color: oklch(48.9% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#76995a',
    500: '#3a7013',
    950: '#000000',
  },
}
SCSS
$custom: #3a7013;
$custom-light: #76995a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7013",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 94.839,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.13389,
    "h": 135.7
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#3A7013
secondary
#7838A7
accent
#3AEEA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7013

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

Preview Lab → · Contrast checker → · Palette generator →

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