#3F7E1F#3F7E1F

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

Color values

HEX#3F7E1F
RGBrgb(63, 126, 31)
HSLhsl(100, 61%, 31%)
HSVhsv(100, 75%, 49%)
CMYKcmyk(50%, 0%, 75.4%, 50.6%)
CIE-LABlab(47.08, -37.75, 42.91)
CIE-LCHlch(47.08, 57.15, 131.34°)
OKLaboklab(53.12% -0.1046 0.0967)
OKLCHoklch(53.12% 0.142 137.3)
XYZxyz(9.7578, 16.0767, 3.8850)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E1F #5E1F7E
analogous
#6E7E1F #3F7E1F #1F7E2E
triadic
#3F7E1F #1F3F7E #7E1F3F
tetradic
#3F7E1F #1F6E7E #5E1F7E #7E2E1F
square
#3F7E1F #1F6E7E #5E1F7E #7E2E1F
split-complementary
#3F7E1F #2E1F7E #7E1F6E
monochromatic
#0E1C07 #264D13 #3F7E1F #58AF2B #75D146

Accessibility & contrast

On white

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

On black

4.22
#3F7E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F7E1F#FFFFFF#000000##FFFFFF
##3F7E1F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7e1f;
/* rgb */ color: rgb(63, 126, 31);
/* oklch */ color: oklch(53.1% 0.142 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa461',
    500: '#3f7e1f',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e1f;
$custom-light: #7aa461;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e1f",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 99.789,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.14249,
    "h": 137.3
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#3F7E1F
secondary
#8E48B1
accent
#44E4AE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F7E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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