#3B7412#3B7412

#3B7412 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.139 H 135.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3B7412
RGBrgb(59, 116, 18)
HSLhsl(95, 73%, 26%)
HSVhsv(95, 84%, 45%)
CMYKcmyk(49.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.45, -35.71, 43.89)
CIE-LCHlch(43.45, 56.58, 129.13°)
OKLaboklab(50.07% -0.0997 0.0968)
OKLCHoklch(50.07% 0.139 135.8)
XYZxyz(8.1580, 13.4637, 2.7410)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7412 #4B1274
analogous
#6C7412 #3B7412 #12741A
triadic
#3B7412 #123B74 #74123B
tetradic
#3B7412 #126C74 #4B1274 #741A12
square
#3B7412 #126C74 #4B1274 #741A12
split-complementary
#3B7412 #1A1274 #74126C
monochromatic
#0D1A04 #203F0A #3B7412 #56A91A #71DD23

Accessibility & contrast

On white

5.69
#3B7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3B7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7412
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7412#FFFFFF#000000##FFFFFF
##3B74121.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#396F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3b7412;
/* rgb */ color: rgb(59, 116, 18);
/* oklch */ color: oklch(50.1% 0.139 135.8);
Tailwind
colors: {
  custom: {
    50: '#779c5a',
    500: '#3b7412',
    950: '#000000',
  },
}
SCSS
$custom: #3b7412;
$custom-light: #779c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7412",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 94.898,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.13898,
    "h": 135.8
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#3B7412
secondary
#7A37AB
accent
#38F0A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7412

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

Preview Lab → · Contrast checker → · Palette generator →

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