#3B7612#3B7612

#3B7612 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.142 H 136.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3B7612
RGBrgb(59, 118, 18)
HSLhsl(95, 74%, 27%)
HSVhsv(95, 85%, 46%)
CMYKcmyk(50%, 0%, 84.7%, 53.7%)
CIE-LABlab(44.13, -36.55, 44.51)
CIE-LCHlch(44.13, 57.60, 129.39°)
OKLaboklab(50.63% -0.102 0.0981)
OKLCHoklch(50.63% 0.142 136.1)
XYZxyz(8.3910, 13.9298, 2.8187)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7612 #4D1276
analogous
#6D7612 #3B7612 #12761B
triadic
#3B7612 #123B76 #76123B
tetradic
#3B7612 #126D76 #4D1276 #761B12
square
#3B7612 #126D76 #4D1276 #761B12
split-complementary
#3B7612 #1B1276 #76126D
monochromatic
#0D1B04 #20410A #3B7612 #56AB1A #71DE25

Accessibility & contrast

On white

5.55
#3B7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3B7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7612
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7612#FFFFFF#000000##FFFFFF
##3B76121.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#387164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b7612;
/* rgb */ color: rgb(59, 118, 18);
/* oklch */ color: oklch(50.6% 0.142 136.1);
Tailwind
colors: {
  custom: {
    50: '#789e5a',
    500: '#3b7612',
    950: '#000000',
  },
}
SCSS
$custom: #3b7612;
$custom-light: #789e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7612",
  "rgb": {
    "r": 59,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 95.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.14151,
    "h": 136.1
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#3B7612
secondary
#7C37AD
accent
#38F0A5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7612

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

Preview Lab → · Contrast checker → · Palette generator →

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