#3F811C#3F811C

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

Color values

HEX#3F811C
RGBrgb(63, 129, 28)
HSLhsl(99, 64%, 31%)
HSVhsv(99, 78%, 51%)
CMYKcmyk(51.2%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.06, -39.21, 44.99)
CIE-LCHlch(48.06, 59.68, 131.07°)
OKLaboklab(53.92% -0.1088 0.1006)
OKLCHoklch(53.92% 0.148 137.2)
XYZxyz(10.1094, 16.8404, 3.8162)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F811C #5E1C81
analogous
#71811C #3F811C #1C812B
triadic
#3F811C #1C3F81 #811C3F
tetradic
#3F811C #1C7181 #5E1C81 #812B1C
square
#3F811C #1C7181 #5E1C81 #812B1C
split-complementary
#3F811C #2B1C81 #811C71
monochromatic
#0E1C06 #264F11 #3F811C #58B327 #75D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F811C#FFFFFF#000000##FFFFFF
##3F811C1.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)
#857505
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f811c;
/* rgb */ color: rgb(63, 129, 28);
/* oklch */ color: oklch(53.9% 0.148 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba660',
    500: '#3f811c',
    950: '#000000',
  },
}
SCSS
$custom: #3f811c;
$custom-light: #7ba660;
$custom-dark: #000000;
JSON
{
  "hex": "#3f811c",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 99.208,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.14818,
    "h": 137.2
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#3F811C
secondary
#8E44B4
accent
#40E7AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F811C

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

Preview Lab → · Contrast checker → · Palette generator →

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