#3B7112#3B7112

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

Color values

HEX#3B7112
RGBrgb(59, 113, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 84%, 44%)
CMYKcmyk(47.8%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.43, -34.43, 42.95)
CIE-LCHlch(42.43, 55.05, 128.71°)
OKLaboklab(49.23% -0.0963 0.0948)
OKLCHoklch(49.23% 0.135 135.4)
XYZxyz(7.8178, 12.7832, 2.6276)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7112 #481271
analogous
#6A7112 #3B7112 #127118
triadic
#3B7112 #123B71 #71123B
tetradic
#3B7112 #126A71 #481271 #711812
square
#3B7112 #126A71 #481271 #711812
split-complementary
#3B7112 #181271 #71126A
monochromatic
#0E1A04 #1F3C0A #3B7112 #57A61A #72DB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7112#FFFFFF#000000##FFFFFF
##3B71121.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)
#6E631D
Tritanopia (blue-blind)
#396C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b7112;
/* rgb */ color: rgb(59, 113, 18);
/* oklch */ color: oklch(49.2% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#779a59',
    500: '#3b7112',
    950: '#000000',
  },
}
SCSS
$custom: #3b7112;
$custom-light: #779a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7112",
  "rgb": {
    "r": 59,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 94.105,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.13515,
    "h": 135.4
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#3B7112
secondary
#7737A8
accent
#39EFA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7112

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

Preview Lab → · Contrast checker → · Palette generator →

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