#3B771C#3B771C

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

Color values

HEX#3B771C
RGBrgb(59, 119, 28)
HSLhsl(100, 62%, 29%)
HSVhsv(100, 76%, 47%)
CMYKcmyk(50.4%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.53, -36.34, 41.46)
CIE-LCHlch(44.53, 55.13, 131.24°)
OKLaboklab(50.97% -0.1008 0.0933)
OKLCHoklch(50.97% 0.137 137.2)
XYZxyz(8.6098, 14.2067, 3.3869)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B771C #581C77
analogous
#69771C #3B771C #1C772A
triadic
#3B771C #1C3B77 #771C3B
tetradic
#3B771C #1C6977 #581C77 #772A1C
square
#3B771C #1C6977 #581C77 #772A1C
split-complementary
#3B771C #2A1C77 #771C69
monochromatic
#0C1906 #224510 #3B771C #54A928 #6FD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B771C#FFFFFF#000000##FFFFFF
##3B771C1.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)
#7B6C0A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#377365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3b771c;
/* rgb */ color: rgb(59, 119, 28);
/* oklch */ color: oklch(51.0% 0.137 137.2);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3b771c',
    950: '#000000',
  },
}
SCSS
$custom: #3b771c;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b771c",
  "rgb": {
    "r": 59,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 99.56,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.13732,
    "h": 137.2
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#3B771C
secondary
#8844AB
accent
#43E5AE
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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