#3F791E#3F791E

#3F791E is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.137 H 136.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3F791E
RGBrgb(63, 121, 30)
HSLhsl(98, 60%, 30%)
HSVhsv(98, 75%, 47%)
CMYKcmyk(47.9%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.39, -35.71, 41.61)
CIE-LCHlch(45.39, 54.83, 130.64°)
OKLaboklab(51.73% -0.0992 0.0938)
OKLCHoklch(51.73% 0.137 136.6)
XYZxyz(9.1214, 14.8247, 3.6089)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F791E #581E79
analogous
#6D791E #3F791E #1E792B
triadic
#3F791E #1E3F79 #791E3F
tetradic
#3F791E #1E6D79 #581E79 #792B1E
square
#3F791E #1E6D79 #581E79 #792B1E
split-complementary
#3F791E #2B1E79 #791E6D
monochromatic
#0D1906 #254812 #3F791E #59AA2A #75D041

Accessibility & contrast

On white

5.30
#3F791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F791E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F791E#FFFFFF#000000##FFFFFF
##3F791E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#3C7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f791e;
/* rgb */ color: rgb(63, 121, 30);
/* oklch */ color: oklch(51.7% 0.137 136.6);
Tailwind
colors: {
  custom: {
    50: '#7aa060',
    500: '#3f791e',
    950: '#000000',
  },
}
SCSS
$custom: #3f791e;
$custom-light: #7aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f791e",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 98.242,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.13655,
    "h": 136.6
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#3F791E
secondary
#8746AD
accent
#44E3AA
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3F791E

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

Preview Lab → · Contrast checker → · Palette generator →

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