#3F871A#3F871A

#3F871A is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.157 H 137.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3F871A
RGBrgb(63, 135, 26)
HSLhsl(100, 68%, 32%)
HSVhsv(100, 81%, 53%)
CMYKcmyk(53.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.05, -41.77, 47.58)
CIE-LCHlch(50.05, 63.31, 131.28°)
OKLaboklab(55.55% -0.1158 0.1057)
OKLCHoklch(55.55% 0.157 137.6)
XYZxyz(10.9000, 18.4585, 3.9655)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F871A #621A87
analogous
#76871A #3F871A #1A872C
triadic
#3F871A #1A3F87 #871A3F
tetradic
#3F871A #1A7687 #621A87 #872C1A
square
#3F871A #1A7687 #621A87 #872C1A
split-complementary
#3F871A #2C1A87 #871A76
monochromatic
#0F2006 #275410 #3F871A #57BA24 #75DA41

Accessibility & contrast

On white

4.48
#3F871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3F871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F871A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F871A#FFFFFF#000000##000000
##3F871A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#3A8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f871a;
/* rgb */ color: rgb(63, 135, 26);
/* oklch */ color: oklch(55.6% 0.157 137.6);
Tailwind
colors: {
  custom: {
    50: '#7cab60',
    500: '#3f871a',
    950: '#000000',
  },
}
SCSS
$custom: #3f871a;
$custom-light: #7cab60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f871a",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 99.633,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.15678,
    "h": 137.6
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#3F871A
secondary
#9242BA
accent
#3DEBB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F871A

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

Preview Lab → · Contrast checker → · Palette generator →

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