#3B7E17#3B7E17

#3B7E17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.149 H 137.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3B7E17
RGBrgb(59, 126, 23)
HSLhsl(99, 69%, 29%)
HSVhsv(99, 82%, 49%)
CMYKcmyk(53.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.86, -39.57, 45.49)
CIE-LCHlch(46.86, 60.29, 131.02°)
OKLaboklab(52.88% -0.1098 0.1009)
OKLCHoklch(52.88% 0.149 137.4)
XYZxyz(9.4188, 15.9127, 3.3856)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7E17 #5A177E
analogous
#6F7E17 #3B7E17 #177E26
triadic
#3B7E17 #173B7E #7E173B
tetradic
#3B7E17 #176F7E #5A177E #7E2617
square
#3B7E17 #176F7E #5A177E #7E2617
split-complementary
#3B7E17 #26177E #7E176F
monochromatic
#0C1A05 #234A0E #3B7E17 #53B220 #6FDA35

Accessibility & contrast

On white

5.02
#3B7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3B7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7E17
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7E17#FFFFFF#000000##FFFFFF
##3B7E171.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#36796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3b7e17;
/* rgb */ color: rgb(59, 126, 23);
/* oklch */ color: oklch(52.9% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a45e',
    500: '#3b7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3b7e17;
$custom-light: #79a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7e17",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 99.029,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.14913,
    "h": 137.4
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#3B7E17
secondary
#8A3EB3
accent
#3CECAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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