#3F7E1C#3F7E1C

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

Color values

HEX#3F7E1C
RGBrgb(63, 126, 28)
HSLhsl(99, 64%, 30%)
HSVhsv(99, 78%, 49%)
CMYKcmyk(50%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.06, -37.97, 44.01)
CIE-LCHlch(47.06, 58.13, 130.78°)
OKLaboklab(53.09% -0.1054 0.0986)
OKLCHoklch(53.09% 0.144 136.9)
XYZxyz(9.7201, 16.0616, 3.6864)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E1C #5B1C7E
analogous
#707E1C #3F7E1C #1C7E2A
triadic
#3F7E1C #1C3F7E #7E1C3F
tetradic
#3F7E1C #1C707E #5B1C7E #7E2A1C
square
#3F7E1C #1C707E #5B1C7E #7E2A1C
split-complementary
#3F7E1C #2A1C7E #7E1C70
monochromatic
#0D1A06 #264C11 #3F7E1C #58B027 #75D540

Accessibility & contrast

On white

4.99
#3F7E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F7E1C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E1C#FFFFFF#000000##FFFFFF
##3F7E1C1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#3B796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7e1c;
/* rgb */ color: rgb(63, 126, 28);
/* oklch */ color: oklch(53.1% 0.144 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba460',
    500: '#3f7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e1c;
$custom-light: #7ba460;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e1c",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 98.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.14433,
    "h": 136.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#3F7E1C
secondary
#8B44B2
accent
#41E7AC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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