#3F7E1E#3F7E1E

#3F7E1E is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.143 H 137.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3F7E1E
RGBrgb(63, 126, 30)
HSLhsl(99, 62%, 31%)
HSVhsv(99, 76%, 49%)
CMYKcmyk(50%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.07, -37.83, 43.28)
CIE-LCHlch(47.07, 57.48, 131.15°)
OKLaboklab(53.11% -0.1049 0.0974)
OKLCHoklch(53.11% 0.143 137.1)
XYZxyz(9.7448, 16.0715, 3.8167)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E1E #5D1E7E
analogous
#6F7E1E #3F7E1E #1E7E2D
triadic
#3F7E1E #1E3F7E #7E1E3F
tetradic
#3F7E1E #1E6F7E #5D1E7E #7E2D1E
square
#3F7E1E #1E6F7E #5D1E7E #7E2D1E
split-complementary
#3F7E1E #2D1E7E #7E1E6F
monochromatic
#0E1B06 #264D12 #3F7E1E #58AF2A #75D244

Accessibility & contrast

On white

4.98
#3F7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3F7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E1E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E1E#FFFFFF#000000##FFFFFF
##3F7E1E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#3B796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7e1e;
/* rgb */ color: rgb(63, 126, 30);
/* oklch */ color: oklch(53.1% 0.143 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba461',
    500: '#3f7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e1e;
$custom-light: #7ba461;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e1e",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 99.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.14312,
    "h": 137.1
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#3F7E1E
secondary
#8D47B1
accent
#43E5AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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