#3B7115#3B7115

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

Color values

HEX#3B7115
RGBrgb(59, 113, 21)
HSLhsl(95, 69%, 26%)
HSVhsv(95, 81%, 44%)
CMYKcmyk(47.8%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.45, -34.25, 41.99)
CIE-LCHlch(42.45, 54.19, 129.21°)
OKLaboklab(49.25% -0.0956 0.0933)
OKLCHoklch(49.25% 0.134 135.7)
XYZxyz(7.8439, 12.7937, 2.7654)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7115 #4B1571
analogous
#697115 #3B7115 #15711D
triadic
#3B7115 #153B71 #71153B
tetradic
#3B7115 #156971 #4B1571 #711D15
square
#3B7115 #156971 #4B1571 #711D15
split-complementary
#3B7115 #1D1571 #711569
monochromatic
#0D1A05 #203D0B #3B7115 #56A51F #71D729

Accessibility & contrast

On white

5.90
#3B7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B7115
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7115#FFFFFF#000000##FFFFFF
##3B71151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b7115;
/* rgb */ color: rgb(59, 113, 21);
/* oklch */ color: oklch(49.2% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#779a5b',
    500: '#3b7115',
    950: '#000000',
  },
}
SCSS
$custom: #3b7115;
$custom-light: #779a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7115",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 95.217,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.1336,
    "h": 135.7
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#3B7115
secondary
#7A3BA7
accent
#3CEBA3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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