#3A7115#3A7115

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

Color values

HEX#3A7115
RGBrgb(58, 113, 21)
HSLhsl(96, 69%, 26%)
HSVhsv(96, 81%, 44%)
CMYKcmyk(48.7%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.40, -34.60, 41.93)
CIE-LCHlch(42.40, 54.36, 129.53°)
OKLaboklab(49.2% -0.0965 0.0932)
OKLCHoklch(49.2% 0.134 136)
XYZxyz(7.7852, 12.7634, 2.7627)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7115 #4C1571
analogous
#687115 #3A7115 #15711E
triadic
#3A7115 #153A71 #71153A
tetradic
#3A7115 #156871 #4C1571 #711E15
square
#3A7115 #156871 #4C1571 #711E15
split-complementary
#3A7115 #1E1571 #711568
monochromatic
#0D1A05 #203D0B #3A7115 #54A51F #6FD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7115#FFFFFF#000000##FFFFFF
##3A71151.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)
#6E621F
Tritanopia (blue-blind)
#386D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a7115;
/* rgb */ color: rgb(58, 113, 21);
/* oklch */ color: oklch(49.2% 0.134 136.0);
Tailwind
colors: {
  custom: {
    50: '#769a5b',
    500: '#3a7115',
    950: '#000000',
  },
}
SCSS
$custom: #3a7115;
$custom-light: #769a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7115",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 95.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.13414,
    "h": 136
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#3A7115
secondary
#7C3BA7
accent
#3CEBA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7115

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

Preview Lab → · Contrast checker → · Palette generator →

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