#3F811A#3F811A

#3F811A is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.149 H 137.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F811A
RGBrgb(63, 129, 26)
HSLhsl(98, 66%, 30%)
HSVhsv(98, 80%, 51%)
CMYKcmyk(51.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.05, -39.34, 45.68)
CIE-LCHlch(48.05, 60.29, 130.74°)
OKLaboklab(53.91% -0.1093 0.1017)
OKLCHoklch(53.91% 0.149 137)
XYZxyz(10.0863, 16.8311, 3.6943)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F811A #5C1A81
analogous
#72811A #3F811A #1A8129
triadic
#3F811A #1A3F81 #811A3F
tetradic
#3F811A #1A7281 #5C1A81 #81291A
square
#3F811A #1A7281 #5C1A81 #81291A
split-complementary
#3F811A #291A81 #811A72
monochromatic
#0D1B05 #264E10 #3F811A #58B424 #75D83D

Accessibility & contrast

On white

4.81
#3F811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3F811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F811A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F811A#FFFFFF#000000##FFFFFF
##3F811A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f811a;
/* rgb */ color: rgb(63, 129, 26);
/* oklch */ color: oklch(53.9% 0.149 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba65f',
    500: '#3f811a',
    950: '#000000',
  },
}
SCSS
$custom: #3f811a;
$custom-light: #7ba65f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f811a",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 98.447,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.14929,
    "h": 137
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#3F811A
secondary
#8C42B5
accent
#3EE9AC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F811A

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

Preview Lab → · Contrast checker → · Palette generator →

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