#3B7E13#3B7E13

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

Color values

HEX#3B7E13
RGBrgb(59, 126, 19)
HSLhsl(98, 74%, 28%)
HSVhsv(98, 85%, 49%)
CMYKcmyk(53.2%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.84, -39.79, 46.69)
CIE-LCHlch(46.84, 61.34, 130.44°)
OKLaboklab(52.86% -0.1106 0.1028)
OKLCHoklch(52.86% 0.151 137.1)
XYZxyz(9.3817, 15.8978, 3.1902)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E13 #56137E
analogous
#707E13 #3B7E13 #137E20
triadic
#3B7E13 #133B7E #7E133B
tetradic
#3B7E13 #13707E #56137E #7E2013
square
#3B7E13 #13707E #56137E #7E2013
split-complementary
#3B7E13 #20137E #7E1370
monochromatic
#0C1B04 #22490B #3B7E13 #54B31B #6FDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3b7e13;
/* rgb */ color: rgb(59, 126, 19);
/* oklch */ color: oklch(52.9% 0.151 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a45c',
    500: '#3b7e13',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e13;
$custom-light: #79a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e13",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 97.57,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.15102,
    "h": 137.1
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#3B7E13
secondary
#8639B4
accent
#37F0AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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