#3B7816#3B7816

#3B7816 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.142 H 136.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3B7816
RGBrgb(59, 120, 22)
HSLhsl(97, 69%, 28%)
HSVhsv(97, 82%, 47%)
CMYKcmyk(50.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.83, -37.17, 43.90)
CIE-LCHlch(44.83, 57.52, 130.25°)
OKLaboklab(51.21% -0.1034 0.0975)
OKLCHoklch(51.21% 0.142 136.7)
XYZxyz(8.6647, 14.4201, 3.0857)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7816 #531678
analogous
#6C7816 #3B7816 #167822
triadic
#3B7816 #163B78 #78163B
tetradic
#3B7816 #166C78 #531678 #782216
square
#3B7816 #166C78 #531678 #782216
split-complementary
#3B7816 #221678 #78166C
monochromatic
#0D1A05 #22440D #3B7816 #54AC1F #6FD92F

Accessibility & contrast

On white

5.41
#3B7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#3B7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7816
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7816#FFFFFF#000000##FFFFFF
##3B78161.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#387366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3b7816;
/* rgb */ color: rgb(59, 120, 22);
/* oklch */ color: oklch(51.2% 0.142 136.7);
Tailwind
colors: {
  custom: {
    50: '#789f5c',
    500: '#3b7816',
    950: '#000000',
  },
}
SCSS
$custom: #3b7816;
$custom-light: #789f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7816",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 97.347,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.14208,
    "h": 136.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#3B7816
secondary
#833CAD
accent
#3CECA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7816

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

Preview Lab → · Contrast checker → · Palette generator →

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