#3B7D11#3B7D11

#3B7D11 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.151 H 136.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3B7D11
RGBrgb(59, 125, 17)
HSLhsl(97, 76%, 28%)
HSVhsv(97, 86%, 49%)
CMYKcmyk(52.8%, 0%, 86.4%, 51%)
CIE-LABlab(46.49, -39.48, 46.93)
CIE-LCHlch(46.49, 61.33, 130.07°)
OKLaboklab(52.57% -0.1099 0.1031)
OKLCHoklch(52.57% 0.151 136.8)
XYZxyz(9.2381, 15.6368, 3.0616)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7D11 #53117D
analogous
#717D11 #3B7D11 #117D1D
triadic
#3B7D11 #113B7D #7D113B
tetradic
#3B7D11 #11717D #53117D #7D1D11
square
#3B7D11 #11717D #53117D #7D1D11
split-complementary
#3B7D11 #1D117D #7D1171
monochromatic
#0D1B04 #22470A #3B7D11 #54B318 #6FE227

Accessibility & contrast

On white

5.09
#3B7D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3B7D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7D11
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7D11#FFFFFF#000000##FFFFFF
##3B7D111.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#37786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b7d11;
/* rgb */ color: rgb(59, 125, 17);
/* oklch */ color: oklch(52.6% 0.151 136.8);
Tailwind
colors: {
  custom: {
    50: '#79a35b',
    500: '#3b7d11',
    950: '#000000',
  },
}
SCSS
$custom: #3b7d11;
$custom-light: #79a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7d11",
  "rgb": {
    "r": 59,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 96.667,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.15065,
    "h": 136.8
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#3B7D11
secondary
#8337B3
accent
#35F3A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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