#3B7512#3B7512

#3B7512 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.140 H 136.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3B7512
RGBrgb(59, 117, 18)
HSLhsl(95, 73%, 26%)
HSVhsv(95, 85%, 46%)
CMYKcmyk(49.6%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.79, -36.13, 44.20)
CIE-LCHlch(43.79, 57.09, 129.26°)
OKLaboklab(50.35% -0.1008 0.0975)
OKLCHoklch(50.35% 0.14 136)
XYZxyz(8.2739, 13.6955, 2.7797)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7512 #4C1275
analogous
#6D7512 #3B7512 #12751B
triadic
#3B7512 #123B75 #75123B
tetradic
#3B7512 #126D75 #4C1275 #751B12
square
#3B7512 #126D75 #4C1275 #751B12
split-complementary
#3B7512 #1B1275 #75126D
monochromatic
#0D1B04 #20400A #3B7512 #56AA1A #71DD24

Accessibility & contrast

On white

5.62
#3B7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3B7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7512
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7512#FFFFFF#000000##FFFFFF
##3B75121.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#387063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b7512;
/* rgb */ color: rgb(59, 117, 18);
/* oklch */ color: oklch(50.3% 0.140 136.0);
Tailwind
colors: {
  custom: {
    50: '#779d5a',
    500: '#3b7512',
    950: '#000000',
  },
}
SCSS
$custom: #3b7512;
$custom-light: #779d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7512",
  "rgb": {
    "r": 59,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 95.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.14025,
    "h": 136
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#3B7512
secondary
#7B37AC
accent
#38F0A4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7512

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

Preview Lab → · Contrast checker → · Palette generator →

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