#3B8312#3B8312

#3B8312 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.2% C 0.158 H 137.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3B8312
RGBrgb(59, 131, 18)
HSLhsl(98, 76%, 29%)
HSVhsv(98, 86%, 51%)
CMYKcmyk(55%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.52, -41.82, 48.48)
CIE-LCHlch(48.52, 64.03, 130.79°)
OKLaboklab(54.24% -0.1161 0.1065)
OKLCHoklch(54.24% 0.158 137.5)
XYZxyz(10.0288, 17.2053, 3.3646)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8312 #5A1283
analogous
#748312 #3B8312 #128322
triadic
#3B8312 #123B83 #83123B
tetradic
#3B8312 #127483 #5A1283 #832212
square
#3B8312 #127483 #5A1283 #832212
split-complementary
#3B8312 #221283 #831274
monochromatic
#0C1B04 #234D0B #3B8312 #53B919 #6FE22D

Accessibility & contrast

On white

4.73
#3B8312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3B8312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8312
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8312#FFFFFF#000000##FFFFFF
##3B83121.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#367E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b8312;
/* rgb */ color: rgb(59, 131, 18);
/* oklch */ color: oklch(54.2% 0.158 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa85c',
    500: '#3b8312',
    950: '#000000',
  },
}
SCSS
$custom: #3b8312;
$custom-light: #7aa85c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8312",
  "rgb": {
    "r": 59,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 98.23,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.15751,
    "h": 137.5
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#3B8312
secondary
#8A38B8
accent
#35F2AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8312

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

Preview Lab → · Contrast checker → · Palette generator →

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