#3A7113#3A7113

#3A7113 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.135 H 135.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A7113
RGBrgb(58, 113, 19)
HSLhsl(95, 71%, 26%)
HSVhsv(95, 83%, 44%)
CMYKcmyk(48.7%, 0%, 83.2%, 55.7%)
CIE-LABlab(42.39, -34.72, 42.58)
CIE-LCHlch(42.39, 54.94, 129.19°)
OKLaboklab(49.19% -0.0969 0.0942)
OKLCHoklch(49.19% 0.135 135.8)
XYZxyz(7.7674, 12.7563, 2.6689)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7113 #4A1371
analogous
#697113 #3A7113 #13711B
triadic
#3A7113 #133A71 #71133A
tetradic
#3A7113 #136971 #4A1371 #711B13
square
#3A7113 #136971 #4A1371 #711B13
split-complementary
#3A7113 #1B1371 #711369
monochromatic
#0D1A04 #1F3D0A #3A7113 #55A51C #70DA25

Accessibility & contrast

On white

5.91
#3A7113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A7113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7113
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7113#FFFFFF#000000##FFFFFF
##3A71131.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#386C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7113;
/* rgb */ color: rgb(58, 113, 19);
/* oklch */ color: oklch(49.2% 0.135 135.8);
Tailwind
colors: {
  custom: {
    50: '#769a5a',
    500: '#3a7113',
    950: '#000000',
  },
}
SCSS
$custom: #3a7113;
$custom-light: #769a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7113",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 95.106,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.13519,
    "h": 135.8
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#3A7113
secondary
#7938A8
accent
#3AEEA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7113

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

Preview Lab → · Contrast checker → · Palette generator →

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