#3B8316#3B8316

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

Color values

HEX#3B8316
RGBrgb(59, 131, 22)
HSLhsl(100, 71%, 30%)
HSVhsv(100, 83%, 51%)
CMYKcmyk(55%, 0%, 83.2%, 48.6%)
CIE-LABlab(48.54, -41.62, 47.36)
CIE-LCHlch(48.54, 63.05, 131.31°)
OKLaboklab(54.26% -0.1153 0.1047)
OKLCHoklch(54.26% 0.156 137.8)
XYZxyz(10.0644, 17.2195, 3.5523)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8316 #5E1683
analogous
#728316 #3B8316 #168327
triadic
#3B8316 #163B83 #83163B
tetradic
#3B8316 #167283 #5E1683 #832716
square
#3B8316 #167283 #5E1683 #832716
split-complementary
#3B8316 #271683 #831672
monochromatic
#0C1A04 #234F0D #3B8316 #53B71F #6FDD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B8316#FFFFFF#000000##FFFFFF
##3B83161.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)
#877700
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#357E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3b8316;
/* rgb */ color: rgb(59, 131, 22);
/* oklch */ color: oklch(54.3% 0.156 137.8);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#3b8316',
    950: '#000000',
  },
}
SCSS
$custom: #3b8316;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8316",
  "rgb": {
    "r": 59,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 99.633,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.15578,
    "h": 137.8
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#3B8316
secondary
#8E3DB7
accent
#3AEEB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8316

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

Preview Lab → · Contrast checker → · Palette generator →

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