#3B7310#3B7310

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

Color values

HEX#3B7310
RGBrgb(59, 115, 16)
HSLhsl(94, 76%, 26%)
HSVhsv(94, 86%, 45%)
CMYKcmyk(48.7%, 0%, 86.1%, 54.9%)
CIE-LABlab(43.11, -35.39, 44.16)
CIE-LCHlch(43.11, 56.59, 128.71°)
OKLaboklab(49.78% -0.099 0.0971)
OKLCHoklch(49.78% 0.139 135.6)
XYZxyz(8.0277, 13.2282, 2.6204)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7310 #481073
analogous
#6C7310 #3B7310 #107316
triadic
#3B7310 #103B73 #73103B
tetradic
#3B7310 #106C73 #481073 #731610
square
#3B7310 #106C73 #481073 #731610
split-complementary
#3B7310 #161073 #73106C
monochromatic
#0E1B04 #1F3D09 #3B7310 #57A917 #72DE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3b7310;
/* rgb */ color: rgb(59, 115, 16);
/* oklch */ color: oklch(49.8% 0.139 135.6);
Tailwind
colors: {
  custom: {
    50: '#779c59',
    500: '#3b7310',
    950: '#000000',
  },
}
SCSS
$custom: #3b7310;
$custom-light: #779c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7310",
  "rgb": {
    "r": 59,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 93.939,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.13863,
    "h": 135.6
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#3B7310
secondary
#7734AA
accent
#36F2A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7310

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

Preview Lab → · Contrast checker → · Palette generator →

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