#3B791B#3B791B

#3B791B is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.141 H 137.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3B791B
RGBrgb(59, 121, 27)
HSLhsl(100, 64%, 29%)
HSVhsv(100, 78%, 47%)
CMYKcmyk(51.2%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.20, -37.25, 42.50)
CIE-LCHlch(45.20, 56.52, 131.24°)
OKLaboklab(51.52% -0.1033 0.0953)
OKLCHoklch(51.52% 0.141 137.3)
XYZxyz(8.8386, 14.6831, 3.4051)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B791B #591B79
analogous
#6A791B #3B791B #1B792A
triadic
#3B791B #1B3B79 #791B3B
tetradic
#3B791B #1B6A79 #591B79 #792A1B
square
#3B791B #1B6A79 #591B79 #792A1B
split-complementary
#3B791B #2A1B79 #791B6A
monochromatic
#0C1906 #234710 #3B791B #53AB26 #6FD33B

Accessibility & contrast

On white

5.33
#3B791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3B791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B791B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B791B#FFFFFF#000000##FFFFFF
##3B791B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#377467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3b791b;
/* rgb */ color: rgb(59, 121, 27);
/* oklch */ color: oklch(51.5% 0.141 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a05f',
    500: '#3b791b',
    950: '#000000',
  },
}
SCSS
$custom: #3b791b;
$custom-light: #78a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b791b",
  "rgb": {
    "r": 59,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 99.574,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.14055,
    "h": 137.3
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#3B791B
secondary
#8943AD
accent
#41E7AE
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3B791B

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

Preview Lab → · Contrast checker → · Palette generator →

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