#3B7015#3B7015

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

Color values

HEX#3B7015
RGBrgb(59, 112, 21)
HSLhsl(95, 68%, 26%)
HSVhsv(95, 81%, 44%)
CMYKcmyk(47.3%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.11, -33.82, 41.66)
CIE-LCHlch(42.11, 53.66, 129.07°)
OKLaboklab(48.97% -0.0945 0.0926)
OKLCHoklch(48.97% 0.132 135.6)
XYZxyz(7.7330, 12.5718, 2.7285)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7015 #4A1570
analogous
#687015 #3B7015 #15701C
triadic
#3B7015 #153B70 #70153B
tetradic
#3B7015 #156870 #4A1570 #701C15
square
#3B7015 #156870 #4A1570 #701C15
split-complementary
#3B7015 #1C1570 #701568
monochromatic
#0E1A05 #203C0B #3B7015 #56A41F #71D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B7015#FFFFFF#000000##FFFFFF
##3B70151.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)
#6D621F
Tritanopia (blue-blind)
#396C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7015;
/* rgb */ color: rgb(59, 112, 21);
/* oklch */ color: oklch(49.0% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#77995b',
    500: '#3b7015',
    950: '#000000',
  },
}
SCSS
$custom: #3b7015;
$custom-light: #77995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7015",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 94.945,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.13228,
    "h": 135.6
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#3B7015
secondary
#793BA6
accent
#3DEBA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7015

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

Preview Lab → · Contrast checker → · Palette generator →

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