#3B7011#3B7011

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

Color values

HEX#3B7011
RGBrgb(59, 112, 17)
HSLhsl(93, 74%, 25%)
HSVhsv(93, 85%, 44%)
CMYKcmyk(47.3%, 0%, 84.8%, 56.1%)
CIE-LABlab(42.09, -34.05, 42.94)
CIE-LCHlch(42.09, 54.81, 128.41°)
OKLaboklab(48.95% -0.0953 0.0947)
OKLCHoklch(48.95% 0.134 135.2)
XYZxyz(7.6988, 12.5581, 2.5485)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7011 #461170
analogous
#6A7011 #3B7011 #117017
triadic
#3B7011 #113B70 #70113B
tetradic
#3B7011 #116A70 #461170 #701711
square
#3B7011 #116A70 #461170 #701711
split-complementary
#3B7011 #171170 #70116A
monochromatic
#0E1B04 #1F3B09 #3B7011 #57A519 #73DA21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7011#FFFFFF#000000##FFFFFF
##3B70111.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)
#6D621C
Tritanopia (blue-blind)
#396B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7011;
/* rgb */ color: rgb(59, 112, 17);
/* oklch */ color: oklch(48.9% 0.134 135.2);
Tailwind
colors: {
  custom: {
    50: '#779959',
    500: '#3b7011',
    950: '#000000',
  },
}
SCSS
$custom: #3b7011;
$custom-light: #779959;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7011",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 93.474,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.13434,
    "h": 135.2
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#3B7011
secondary
#7535A7
accent
#37F09F
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7011

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

Preview Lab → · Contrast checker → · Palette generator →

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