#3B7C13#3B7C13

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

Color values

HEX#3B7C13
RGBrgb(59, 124, 19)
HSLhsl(97, 73%, 28%)
HSVhsv(97, 85%, 49%)
CMYKcmyk(52.4%, 0%, 84.7%, 51.4%)
CIE-LABlab(46.17, -38.98, 46.07)
CIE-LCHlch(46.17, 60.35, 130.23°)
OKLaboklab(52.3% -0.1084 0.1016)
OKLCHoklch(52.3% 0.149 136.9)
XYZxyz(9.1286, 15.3915, 3.1058)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7C13 #54137C
analogous
#6F7C13 #3B7C13 #137C1F
triadic
#3B7C13 #133B7C #7C133B
tetradic
#3B7C13 #136F7C #54137C #7C1F13
square
#3B7C13 #136F7C #54137C #7C1F13
split-complementary
#3B7C13 #1F137C #7C136F
monochromatic
#0D1B04 #22470B #3B7C13 #54B11B #6FDF2B

Accessibility & contrast

On white

5.15
#3B7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3B7C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7C13
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7C13#FFFFFF#000000##FFFFFF
##3B7C131.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#377769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3b7c13;
/* rgb */ color: rgb(59, 124, 19);
/* oklch */ color: oklch(52.3% 0.149 136.9);
Tailwind
colors: {
  custom: {
    50: '#78a25c',
    500: '#3b7c13',
    950: '#000000',
  },
}
SCSS
$custom: #3b7c13;
$custom-light: #78a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7c13",
  "rgb": {
    "r": 59,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 97.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.523,
    "c": 0.14855,
    "h": 136.9
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#3B7C13
secondary
#8439B2
accent
#38F0AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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