#3B7313#3B7313

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

Color values

HEX#3B7313
RGBrgb(59, 115, 19)
HSLhsl(95, 72%, 26%)
HSVhsv(95, 83%, 45%)
CMYKcmyk(48.7%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.12, -35.23, 43.27)
CIE-LCHlch(43.12, 55.80, 129.15°)
OKLaboklab(49.79% -0.0984 0.0957)
OKLCHoklch(49.79% 0.137 135.8)
XYZxyz(8.0517, 13.2378, 2.7468)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7313 #4B1373
analogous
#6B7313 #3B7313 #13731B
triadic
#3B7313 #133B73 #73133B
tetradic
#3B7313 #136B73 #4B1373 #731B13
square
#3B7313 #136B73 #4B1373 #731B13
split-complementary
#3B7313 #1B1373 #73136B
monochromatic
#0D1A04 #203E0A #3B7313 #56A81C #71DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7313#FFFFFF#000000##FFFFFF
##3B73131.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)
#70641E
Tritanopia (blue-blind)
#396E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b7313;
/* rgb */ color: rgb(59, 115, 19);
/* oklch */ color: oklch(49.8% 0.137 135.8);
Tailwind
colors: {
  custom: {
    50: '#779c5a',
    500: '#3b7313',
    950: '#000000',
  },
}
SCSS
$custom: #3b7313;
$custom-light: #779c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7313",
  "rgb": {
    "r": 59,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 95,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.13722,
    "h": 135.8
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#3B7313
secondary
#7A38AA
accent
#39EEA3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7313

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

Preview Lab → · Contrast checker → · Palette generator →

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