#3F811D#3F811D

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

Color values

HEX#3F811D
RGBrgb(63, 129, 29)
HSLhsl(100, 63%, 31%)
HSVhsv(100, 78%, 51%)
CMYKcmyk(51.2%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.06, -39.14, 44.64)
CIE-LCHlch(48.06, 59.37, 131.25°)
OKLaboklab(53.93% -0.1085 0.1)
OKLCHoklch(53.93% 0.148 137.3)
XYZxyz(10.1216, 16.8453, 3.8803)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F811D #5F1D81
analogous
#71811D #3F811D #1D812D
triadic
#3F811D #1D3F81 #811D3F
tetradic
#3F811D #1D7181 #5F1D81 #812D1D
square
#3F811D #1D7181 #5F1D81 #812D1D
split-complementary
#3F811D #2D1D81 #811D71
monochromatic
#0E1D07 #274F12 #3F811D #57B328 #75D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3f811d;
/* rgb */ color: rgb(63, 129, 29);
/* oklch */ color: oklch(53.9% 0.148 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba661',
    500: '#3f811d',
    950: '#000000',
  },
}
SCSS
$custom: #3f811d;
$custom-light: #7ba661;
$custom-dark: #000000;
JSON
{
  "hex": "#3f811d",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 99.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.1476,
    "h": 137.3
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#3F811D
secondary
#8F46B4
accent
#41E6AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F811D

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

Preview Lab → · Contrast checker → · Palette generator →

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