#3B7013#3B7013

#3B7013 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.133 H 135.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3B7013
RGBrgb(59, 112, 19)
HSLhsl(94, 71%, 26%)
HSVhsv(94, 83%, 44%)
CMYKcmyk(47.3%, 0%, 83%, 56.1%)
CIE-LABlab(42.10, -33.94, 42.32)
CIE-LCHlch(42.10, 54.25, 128.73°)
OKLaboklab(48.96% -0.0949 0.0937)
OKLCHoklch(48.96% 0.133 135.4)
XYZxyz(7.7152, 12.5647, 2.6347)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7013 #481370
analogous
#697013 #3B7013 #13701A
triadic
#3B7013 #133B70 #70133B
tetradic
#3B7013 #136970 #481370 #701A13
square
#3B7013 #136970 #481370 #701A13
split-complementary
#3B7013 #1A1370 #701369
monochromatic
#0E1A04 #1F3C0A #3B7013 #57A41C #72D925

Accessibility & contrast

On white

5.98
#3B7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3B7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7013
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7013#FFFFFF#000000##FFFFFF
##3B70131.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#396B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7013;
/* rgb */ color: rgb(59, 112, 19);
/* oklch */ color: oklch(49.0% 0.133 135.4);
Tailwind
colors: {
  custom: {
    50: '#77995a',
    500: '#3b7013',
    950: '#000000',
  },
}
SCSS
$custom: #3b7013;
$custom-light: #77995a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7013",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 94.194,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.13335,
    "h": 135.4
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#3B7013
secondary
#7738A7
accent
#3AEEA0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7013

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

Preview Lab → · Contrast checker → · Palette generator →

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