#3B7F0F#3B7F0F

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

Color values

HEX#3B7F0F
RGBrgb(59, 127, 15)
HSLhsl(96, 79%, 28%)
HSVhsv(96, 88%, 50%)
CMYKcmyk(53.5%, 0%, 88.2%, 50.2%)
CIE-LABlab(47.16, -40.37, 48.04)
CIE-LCHlch(47.16, 62.75, 130.05°)
OKLaboklab(53.12% -0.1124 0.1051)
OKLCHoklch(53.12% 0.154 136.9)
XYZxyz(9.4789, 16.1423, 3.0681)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7F0F #530F7F
analogous
#737F0F #3B7F0F #0F7F1B
triadic
#3B7F0F #0F3B7F #7F0F3B
tetradic
#3B7F0F #0F737F #530F7F #7F1B0F
square
#3B7F0F #0F737F #530F7F #7F1B0F
split-complementary
#3B7F0F #1B0F7F #7F0F73
monochromatic
#0D1B03 #224809 #3B7F0F #54B615 #6FE523

Accessibility & contrast

On white

4.97
#3B7F0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B7F0F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7F0F#FFFFFF#000000##FFFFFF
##3B7F0F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b7f0f;
/* rgb */ color: rgb(59, 127, 15);
/* oklch */ color: oklch(53.1% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a55b',
    500: '#3b7f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3b7f0f;
$custom-light: #79a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7f0f",
  "rgb": {
    "r": 59,
    "g": 127,
    "b": 15
  },
  "hsl": {
    "h": 96.429,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.15385,
    "h": 136.9
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#3B7F0F
secondary
#8334B5
accent
#32F5A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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