#3B7E14#3B7E14

#3B7E14 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.151 H 137.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3B7E14
RGBrgb(59, 126, 20)
HSLhsl(98, 73%, 29%)
HSVhsv(98, 84%, 49%)
CMYKcmyk(53.2%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.84, -39.74, 46.40)
CIE-LCHlch(46.84, 61.09, 130.58°)
OKLaboklab(52.86% -0.1104 0.1024)
OKLCHoklch(52.86% 0.151 137.2)
XYZxyz(9.3905, 15.9013, 3.2361)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E14 #57147E
analogous
#707E14 #3B7E14 #147E22
triadic
#3B7E14 #143B7E #7E143B
tetradic
#3B7E14 #14707E #57147E #7E2214
square
#3B7E14 #14707E #57147E #7E2214
split-complementary
#3B7E14 #22147E #7E1470
monochromatic
#0C1A04 #22490C #3B7E14 #54B31C #6FDE2E

Accessibility & contrast

On white

5.02
#3B7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B7E14
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7E14#FFFFFF#000000##FFFFFF
##3B7E141.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b7e14;
/* rgb */ color: rgb(59, 126, 20);
/* oklch */ color: oklch(52.9% 0.151 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a45c',
    500: '#3b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e14;
$custom-light: #79a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e14",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 97.925,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.15057,
    "h": 137.2
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#3B7E14
secondary
#873AB3
accent
#38EFAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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