#3A7119#3A7119

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

Color values

HEX#3A7119
RGBrgb(58, 113, 25)
HSLhsl(98, 64%, 27%)
HSVhsv(98, 78%, 44%)
CMYKcmyk(48.7%, 0%, 77.9%, 55.7%)
CIE-LABlab(42.43, -34.33, 40.51)
CIE-LCHlch(42.43, 53.10, 130.28°)
OKLaboklab(49.23% -0.0955 0.0909)
OKLCHoklch(49.23% 0.132 136.4)
XYZxyz(7.8253, 12.7795, 2.9739)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7119 #501971
analogous
#667119 #3A7119 #197124
triadic
#3A7119 #193A71 #71193A
tetradic
#3A7119 #196671 #501971 #712419
square
#3A7119 #196671 #501971 #712419
split-complementary
#3A7119 #241971 #711966
monochromatic
#0D1906 #203F0E #3A7119 #54A324 #6ED233

Accessibility & contrast

On white

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

On black

3.56
#3A7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A7119#FFFFFF#000000##FFFFFF
##3A71191.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#376D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7119;
/* rgb */ color: rgb(58, 113, 25);
/* oklch */ color: oklch(49.2% 0.132 136.4);
Tailwind
colors: {
  custom: {
    50: '#769a5d',
    500: '#3a7119',
    950: '#000000',
  },
}
SCSS
$custom: #3a7119;
$custom-light: #769a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7119",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 97.5,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.1318,
    "h": 136.4
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#3A7119
secondary
#8040A6
accent
#41E7A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7119

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

Preview Lab → · Contrast checker → · Palette generator →

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