#3B7312#3B7312

#3B7312 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.138 H 135.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3B7312
RGBrgb(59, 115, 18)
HSLhsl(95, 73%, 26%)
HSVhsv(95, 84%, 45%)
CMYKcmyk(48.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.11, -35.29, 43.58)
CIE-LCHlch(43.11, 56.07, 129.00°)
OKLaboklab(49.79% -0.0986 0.0962)
OKLCHoklch(49.79% 0.138 135.7)
XYZxyz(8.0433, 13.2344, 2.7028)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7312 #4A1273
analogous
#6B7312 #3B7312 #127319
triadic
#3B7312 #123B73 #73123B
tetradic
#3B7312 #126B73 #4A1273 #731912
square
#3B7312 #126B73 #4A1273 #731912
split-complementary
#3B7312 #191273 #73126B
monochromatic
#0E1A04 #203E0A #3B7312 #56A81A #71DD23

Accessibility & contrast

On white

5.76
#3B7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3B7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7312
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7312#FFFFFF#000000##FFFFFF
##3B73121.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#396E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b7312;
/* rgb */ color: rgb(59, 115, 18);
/* oklch */ color: oklch(49.8% 0.138 135.7);
Tailwind
colors: {
  custom: {
    50: '#779c5a',
    500: '#3b7312',
    950: '#000000',
  },
}
SCSS
$custom: #3b7312;
$custom-light: #779c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7312",
  "rgb": {
    "r": 59,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 94.639,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.13771,
    "h": 135.7
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#3B7312
secondary
#7937AA
accent
#38F0A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7312

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

Preview Lab → · Contrast checker → · Palette generator →

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