#3F841A#3F841A

#3F841A is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.153 H 137.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F841A
RGBrgb(63, 132, 26)
HSLhsl(99, 67%, 31%)
HSVhsv(99, 80%, 52%)
CMYKcmyk(52.3%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.05, -40.56, 46.63)
CIE-LCHlch(49.05, 61.81, 131.02°)
OKLaboklab(54.73% -0.1125 0.1037)
OKLCHoklch(54.73% 0.153 137.3)
XYZxyz(10.4873, 17.6331, 3.8280)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F841A #5F1A84
analogous
#74841A #3F841A #1A842A
triadic
#3F841A #1A3F84 #841A3F
tetradic
#3F841A #1A7484 #5F1A84 #842A1A
square
#3F841A #1A7484 #5F1A84 #842A1A
split-complementary
#3F841A #2A1A84 #841A74
monochromatic
#0E1E06 #275110 #3F841A #57B724 #75D93F

Accessibility & contrast

On white

4.64
#3F841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3F841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F841A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F841A#FFFFFF#000000##FFFFFF
##3F841A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#3A7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f841a;
/* rgb */ color: rgb(63, 132, 26);
/* oklch */ color: oklch(54.7% 0.153 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ca860',
    500: '#3f841a',
    950: '#000000',
  },
}
SCSS
$custom: #3f841a;
$custom-light: #7ca860;
$custom-dark: #000000;
JSON
{
  "hex": "#3f841a",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 99.057,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.15306,
    "h": 137.3
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#3F841A
secondary
#8F42B8
accent
#3EEAAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F841A

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

Preview Lab → · Contrast checker → · Palette generator →

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