#3B7E11#3B7E11

#3B7E11 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.8% C 0.152 H 136.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3B7E11
RGBrgb(59, 126, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 87%, 49%)
CMYKcmyk(53.2%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.83, -39.89, 47.23)
CIE-LCHlch(46.83, 61.82, 130.18°)
OKLaboklab(52.85% -0.111 0.1037)
OKLCHoklch(52.85% 0.152 136.9)
XYZxyz(9.3654, 15.8913, 3.1040)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E11 #54117E
analogous
#717E11 #3B7E11 #117E1E
triadic
#3B7E11 #113B7E #7E113B
tetradic
#3B7E11 #11717E #54117E #7E1E11
square
#3B7E11 #11717E #54117E #7E1E11
split-complementary
#3B7E11 #1E117E #7E1171
monochromatic
#0D1B04 #22480A #3B7E11 #54B418 #6FE227

Accessibility & contrast

On white

5.03
#3B7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3B7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7E11
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7E11#FFFFFF#000000##FFFFFF
##3B7E111.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837200
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#37796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3b7e11;
/* rgb */ color: rgb(59, 126, 17);
/* oklch */ color: oklch(52.8% 0.152 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a45b',
    500: '#3b7e11',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e11;
$custom-light: #79a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e11",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 96.881,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.15187,
    "h": 136.9
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#3B7E11
secondary
#8437B4
accent
#35F3AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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