#3B7211#3B7211

#3B7211 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.137 H 135.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B7211
RGBrgb(59, 114, 17)
HSLhsl(94, 74%, 26%)
HSVhsv(94, 85%, 45%)
CMYKcmyk(48.2%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.77, -34.91, 43.57)
CIE-LCHlch(42.77, 55.83, 128.71°)
OKLaboklab(49.5% -0.0976 0.096)
OKLCHoklch(49.5% 0.137 135.5)
XYZxyz(7.9219, 13.0044, 2.6229)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7211 #481172
analogous
#6B7211 #3B7211 #117218
triadic
#3B7211 #113B72 #72113B
tetradic
#3B7211 #116B72 #481172 #721811
square
#3B7211 #116B72 #481172 #721811
split-complementary
#3B7211 #181172 #72116B
monochromatic
#0E1B04 #1F3D09 #3B7211 #57A719 #72DD21

Accessibility & contrast

On white

5.83
#3B7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7211
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7211#FFFFFF#000000##FFFFFF
##3B72111.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#396D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b7211;
/* rgb */ color: rgb(59, 114, 17);
/* oklch */ color: oklch(49.5% 0.137 135.5);
Tailwind
colors: {
  custom: {
    50: '#779b59',
    500: '#3b7211',
    950: '#000000',
  },
}
SCSS
$custom: #3b7211;
$custom-light: #779b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7211",
  "rgb": {
    "r": 59,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 94.021,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.1369,
    "h": 135.5
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#3B7211
secondary
#7736A9
accent
#37F1A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7211

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

Preview Lab → · Contrast checker → · Palette generator →

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