#3F811B#3F811B

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

Color values

HEX#3F811B
RGBrgb(63, 129, 27)
HSLhsl(99, 65%, 31%)
HSVhsv(99, 79%, 51%)
CMYKcmyk(51.2%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.05, -39.28, 45.34)
CIE-LCHlch(48.05, 59.99, 130.90°)
OKLaboklab(53.91% -0.109 0.1012)
OKLCHoklch(53.91% 0.149 137.1)
XYZxyz(10.0977, 16.8357, 3.7542)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F811B #5D1B81
analogous
#72811B #3F811B #1B812A
triadic
#3F811B #1B3F81 #811B3F
tetradic
#3F811B #1B7281 #5D1B81 #812A1B
square
#3F811B #1B7281 #5D1B81 #812A1B
split-complementary
#3F811B #2A1B81 #811B72
monochromatic
#0E1C06 #264E10 #3F811B #58B426 #75D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F811B#FFFFFF#000000##FFFFFF
##3F811B1.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)
#857503
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f811b;
/* rgb */ color: rgb(63, 129, 27);
/* oklch */ color: oklch(53.9% 0.149 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba660',
    500: '#3f811b',
    950: '#000000',
  },
}
SCSS
$custom: #3f811b;
$custom-light: #7ba660;
$custom-dark: #000000;
JSON
{
  "hex": "#3f811b",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 98.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.14874,
    "h": 137.1
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#3F811B
secondary
#8D43B5
accent
#3FE8AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F811B

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

Preview Lab → · Contrast checker → · Palette generator →

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