#3B771B#3B771B

#3B771B is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.0% C 0.138 H 137.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3B771B
RGBrgb(59, 119, 27)
HSLhsl(99, 63%, 29%)
HSVhsv(99, 77%, 47%)
CMYKcmyk(50.4%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.52, -36.42, 41.83)
CIE-LCHlch(44.52, 55.46, 131.04°)
OKLaboklab(50.96% -0.101 0.0939)
OKLCHoklch(50.96% 0.138 137.1)
XYZxyz(8.5980, 14.2020, 3.3249)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B771B #571B77
analogous
#69771B #3B771B #1B7729
triadic
#3B771B #1B3B77 #771B3B
tetradic
#3B771B #1B6977 #571B77 #77291B
square
#3B771B #1B6977 #571B77 #77291B
split-complementary
#3B771B #291B77 #771B69
monochromatic
#0C1906 #224510 #3B771B #54A926 #6FD23A

Accessibility & contrast

On white

5.47
#3B771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3B771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B771B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B771B#FFFFFF#000000##FFFFFF
##3B771B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#377365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3b771b;
/* rgb */ color: rgb(59, 119, 27);
/* oklch */ color: oklch(51.0% 0.138 137.1);
Tailwind
colors: {
  custom: {
    50: '#779f5e',
    500: '#3b771b',
    950: '#000000',
  },
}
SCSS
$custom: #3b771b;
$custom-light: #779f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b771b",
  "rgb": {
    "r": 59,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 99.13,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.13794,
    "h": 137.1
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#3B771B
secondary
#8742AB
accent
#42E6AD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3B771B

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

Preview Lab → · Contrast checker → · Palette generator →

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