#3B8017#3B8017

#3B8017 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.152 H 137.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3B8017
RGBrgb(59, 128, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 82%, 50%)
CMYKcmyk(53.9%, 0%, 82%, 49.8%)
CIE-LABlab(47.53, -40.37, 46.12)
CIE-LCHlch(47.53, 61.29, 131.20°)
OKLaboklab(53.43% -0.1119 0.1023)
OKLCHoklch(53.43% 0.152 137.6)
XYZxyz(9.6771, 16.4293, 3.4717)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8017 #5C1780
analogous
#6F8017 #3B8017 #178028
triadic
#3B8017 #173B80 #80173B
tetradic
#3B8017 #176F80 #5C1780 #802817
square
#3B8017 #176F80 #5C1780 #802817
split-complementary
#3B8017 #281780 #80176F
monochromatic
#0C1A05 #234C0E #3B8017 #53B420 #6FDB36

Accessibility & contrast

On white

4.90
#3B8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3B8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8017
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8017#FFFFFF#000000##FFFFFF
##3B80171.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#367B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3b8017;
/* rgb */ color: rgb(59, 128, 23);
/* oklch */ color: oklch(53.4% 0.152 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3b8017',
    950: '#000000',
  },
}
SCSS
$custom: #3b8017;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8017",
  "rgb": {
    "r": 59,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 99.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.15161,
    "h": 137.6
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#3B8017
secondary
#8C3EB4
accent
#3BECB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8017

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

Preview Lab → · Contrast checker → · Palette generator →

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