#3B8112#3B8112

#3B8112 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.7% C 0.155 H 137.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3B8112
RGBrgb(59, 129, 18)
HSLhsl(98, 76%, 29%)
HSVhsv(98, 86%, 51%)
CMYKcmyk(54.3%, 0%, 86%, 49.4%)
CIE-LABlab(47.85, -41.04, 47.87)
CIE-LCHlch(47.85, 63.05, 130.60°)
OKLaboklab(53.68% -0.114 0.1052)
OKLCHoklch(53.68% 0.155 137.3)
XYZxyz(9.7628, 16.6732, 3.2760)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8112 #581281
analogous
#738112 #3B8112 #128121
triadic
#3B8112 #123B81 #81123B
tetradic
#3B8112 #127381 #581281 #812112
square
#3B8112 #127381 #581281 #812112
split-complementary
#3B8112 #211281 #811273
monochromatic
#0C1B04 #224B0B #3B8112 #54B719 #6FE22C

Accessibility & contrast

On white

4.84
#3B8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3B8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8112
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8112#FFFFFF#000000##FFFFFF
##3B81121.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#367C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b8112;
/* rgb */ color: rgb(59, 129, 18);
/* oklch */ color: oklch(53.7% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#79a65c',
    500: '#3b8112',
    950: '#000000',
  },
}
SCSS
$custom: #3b8112;
$custom-light: #79a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8112",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 97.838,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.1551,
    "h": 137.3
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#3B8112
secondary
#8838B7
accent
#36F2AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B8112

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

Preview Lab → · Contrast checker → · Palette generator →

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