#3B7E0F#3B7E0F

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

Color values

HEX#3B7E0F
RGBrgb(59, 126, 15)
HSLhsl(96, 79%, 28%)
HSVhsv(96, 88%, 49%)
CMYKcmyk(53.2%, 0%, 88.1%, 50.6%)
CIE-LABlab(46.82, -39.97, 47.74)
CIE-LCHlch(46.82, 62.27, 129.94°)
OKLaboklab(52.84% -0.1113 0.1045)
OKLCHoklch(52.84% 0.153 136.8)
XYZxyz(9.3504, 15.8853, 3.0253)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E0F #520F7E
analogous
#727E0F #3B7E0F #0F7E1A
triadic
#3B7E0F #0F3B7E #7E0F3B
tetradic
#3B7E0F #0F727E #520F7E #7E1A0F
square
#3B7E0F #0F727E #520F7E #7E1A0F
split-complementary
#3B7E0F #1A0F7E #7E0F72
monochromatic
#0D1B03 #214708 #3B7E0F #55B516 #70E523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7E0F#FFFFFF#000000##FFFFFF
##3B7E0F1.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)
#7A6D1E
Tritanopia (blue-blind)
#37796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3b7e0f;
/* rgb */ color: rgb(59, 126, 15);
/* oklch */ color: oklch(52.8% 0.153 136.8);
Tailwind
colors: {
  custom: {
    50: '#79a45a',
    500: '#3b7e0f',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e0f;
$custom-light: #79a45a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e0f",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 15
  },
  "hsl": {
    "h": 96.216,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.15264,
    "h": 136.8
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#3B7E0F
secondary
#8234B5
accent
#33F5A8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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