#3B7311#3B7311

#3B7311 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.138 H 135.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3B7311
RGBrgb(59, 115, 17)
HSLhsl(94, 74%, 26%)
HSVhsv(94, 85%, 45%)
CMYKcmyk(48.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.11, -35.34, 43.88)
CIE-LCHlch(43.11, 56.34, 128.85°)
OKLaboklab(49.78% -0.0988 0.0966)
OKLCHoklch(49.78% 0.138 135.6)
XYZxyz(8.0353, 13.2312, 2.6607)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7311 #491173
analogous
#6C7311 #3B7311 #117318
triadic
#3B7311 #113B73 #73113B
tetradic
#3B7311 #116C73 #491173 #731811
square
#3B7311 #116C73 #491173 #731811
split-complementary
#3B7311 #181173 #73116C
monochromatic
#0E1B04 #203E09 #3B7311 #56A819 #72DE21

Accessibility & contrast

On white

5.76
#3B7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3B7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7311
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7311#FFFFFF#000000##FFFFFF
##3B73111.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#396E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b7311;
/* rgb */ color: rgb(59, 115, 17);
/* oklch */ color: oklch(49.8% 0.138 135.6);
Tailwind
colors: {
  custom: {
    50: '#779c59',
    500: '#3b7311',
    950: '#000000',
  },
}
SCSS
$custom: #3b7311;
$custom-light: #779c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7311",
  "rgb": {
    "r": 59,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 94.286,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.13818,
    "h": 135.6
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#3B7311
secondary
#7836AA
accent
#37F1A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7311

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

Preview Lab → · Contrast checker → · Palette generator →

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