#3F7112#3F7112

#3F7112 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.133 H 134.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F7112
RGBrgb(63, 113, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 84%, 44%)
CMYKcmyk(44.2%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.63, -33.00, 43.20)
CIE-LCHlch(42.63, 54.36, 127.37°)
OKLaboklab(49.44% -0.0927 0.0953)
OKLCHoklch(49.44% 0.133 134.2)
XYZxyz(8.0641, 12.9102, 2.6392)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7112 #441271
analogous
#6E7112 #3F7112 #127114
triadic
#3F7112 #123F71 #71123F
tetradic
#3F7112 #126E71 #441271 #711412
square
#3F7112 #126E71 #441271 #711412
split-complementary
#3F7112 #141271 #71126E
monochromatic
#0F1A04 #223C0A #3F7112 #5CA61A #7ADB23

Accessibility & contrast

On white

5.86
#3F7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7112
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7112#FFFFFF#000000##FFFFFF
##3F71121.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7112;
/* rgb */ color: rgb(63, 113, 18);
/* oklch */ color: oklch(49.4% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#799a59',
    500: '#3f7112',
    950: '#000000',
  },
}
SCSS
$custom: #3f7112;
$custom-light: #799a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7112",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 91.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.13295,
    "h": 134.2
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#3F7112
secondary
#7237A8
accent
#39EF99
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7112

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

Preview Lab → · Contrast checker → · Palette generator →

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