#3B8315#3B8315

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

Color values

HEX#3B8315
RGBrgb(59, 131, 21)
HSLhsl(99, 72%, 30%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(55%, 0%, 84%, 48.6%)
CIE-LABlab(48.53, -41.68, 47.65)
CIE-LCHlch(48.53, 63.31, 131.17°)
OKLaboklab(54.25% -0.1155 0.1052)
OKLCHoklch(54.25% 0.156 137.7)
XYZxyz(10.0549, 17.2158, 3.5024)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8315 #5D1583
analogous
#728315 #3B8315 #158326
triadic
#3B8315 #153B83 #83153B
tetradic
#3B8315 #157283 #5D1583 #832615
square
#3B8315 #157283 #5D1583 #832615
split-complementary
#3B8315 #261583 #831572
monochromatic
#0C1A04 #234E0D #3B8315 #53B81D #6FDE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B8315#FFFFFF#000000##FFFFFF
##3B83151.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: #3b8315;
/* rgb */ color: rgb(59, 131, 21);
/* oklch */ color: oklch(54.3% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#3b8315',
    950: '#000000',
  },
}
SCSS
$custom: #3b8315;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8315",
  "rgb": {
    "r": 59,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 99.273,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.15624,
    "h": 137.7
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#3B8315
secondary
#8D3CB8
accent
#39EFB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8315

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

Preview Lab → · Contrast checker → · Palette generator →

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