#3B781B#3B781B

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

Color values

HEX#3B781B
RGBrgb(59, 120, 27)
HSLhsl(99, 63%, 29%)
HSVhsv(99, 78%, 47%)
CMYKcmyk(50.8%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.86, -36.84, 42.17)
CIE-LCHlch(44.86, 55.99, 131.14°)
OKLaboklab(51.24% -0.1022 0.0946)
OKLCHoklch(51.24% 0.139 137.2)
XYZxyz(8.7177, 14.4413, 3.3648)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B781B #581B78
analogous
#6A781B #3B781B #1B782A
triadic
#3B781B #1B3B78 #781B3B
tetradic
#3B781B #1B6A78 #581B78 #782A1B
square
#3B781B #1B6A78 #581B78 #782A1B
split-complementary
#3B781B #2A1B78 #781B6A
monochromatic
#0C1906 #224610 #3B781B #54AA26 #6FD33B

Accessibility & contrast

On white

5.40
#3B781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3B781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B781B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B781B#FFFFFF#000000##FFFFFF
##3B781B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#377366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3b781b;
/* rgb */ color: rgb(59, 120, 27);
/* oklch */ color: oklch(51.2% 0.139 137.2);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3b781b',
    950: '#000000',
  },
}
SCSS
$custom: #3b781b;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b781b",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 99.355,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.13925,
    "h": 137.2
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#3B781B
secondary
#8843AC
accent
#41E6AE
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3B781B

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

Preview Lab → · Contrast checker → · Palette generator →

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