#3B7F11#3B7F11

#3B7F11 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.153 H 137.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3B7F11
RGBrgb(59, 127, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 87%, 50%)
CMYKcmyk(53.5%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.17, -40.29, 47.53)
CIE-LCHlch(47.17, 62.31, 130.28°)
OKLaboklab(53.12% -0.112 0.1043)
OKLCHoklch(53.12% 0.153 137)
XYZxyz(9.4939, 16.1483, 3.1469)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7F11 #55117F
analogous
#727F11 #3B7F11 #117F1E
triadic
#3B7F11 #113B7F #7F113B
tetradic
#3B7F11 #11727F #55117F #7F1E11
square
#3B7F11 #11727F #55117F #7F1E11
split-complementary
#3B7F11 #1E117F #7F1172
monochromatic
#0D1B04 #22490A #3B7F11 #54B518 #6FE228

Accessibility & contrast

On white

4.96
#3B7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3B7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7F11
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7F11#FFFFFF#000000##FFFFFF
##3B7F111.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#377A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3b7f11;
/* rgb */ color: rgb(59, 127, 17);
/* oklch */ color: oklch(53.1% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#79a55b',
    500: '#3b7f11',
    950: '#000000',
  },
}
SCSS
$custom: #3b7f11;
$custom-light: #79a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7f11",
  "rgb": {
    "r": 59,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 97.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.15309,
    "h": 137
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#3B7F11
secondary
#8537B5
accent
#35F3AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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