#3B8012#3B8012

#3B8012 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.154 H 137.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3B8012
RGBrgb(59, 128, 18)
HSLhsl(98, 75%, 29%)
HSVhsv(98, 86%, 50%)
CMYKcmyk(53.9%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.51, -40.64, 47.57)
CIE-LCHlch(47.51, 62.57, 130.51°)
OKLaboklab(53.41% -0.1129 0.1046)
OKLCHoklch(53.41% 0.154 137.2)
XYZxyz(9.6317, 16.4111, 3.2323)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8012 #571280
analogous
#728012 #3B8012 #128020
triadic
#3B8012 #123B80 #80123B
tetradic
#3B8012 #127280 #571280 #802012
square
#3B8012 #127280 #571280 #802012
split-complementary
#3B8012 #201280 #801272
monochromatic
#0C1B04 #224A0A #3B8012 #54B61A #6FE12B

Accessibility & contrast

On white

4.90
#3B8012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3B8012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8012
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8012#FFFFFF#000000##FFFFFF
##3B80121.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#367B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3b8012;
/* rgb */ color: rgb(59, 128, 18);
/* oklch */ color: oklch(53.4% 0.154 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a55c',
    500: '#3b8012',
    950: '#000000',
  },
}
SCSS
$custom: #3b8012;
$custom-light: #79a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8012",
  "rgb": {
    "r": 59,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 97.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.15389,
    "h": 137.2
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#3B8012
secondary
#8738B6
accent
#36F2AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B8012

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

Preview Lab → · Contrast checker → · Palette generator →

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