#3E7112#3E7112

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

Color values

HEX#3E7112
RGBrgb(62, 113, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 84%, 44%)
CMYKcmyk(45.1%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.58, -33.36, 43.14)
CIE-LCHlch(42.58, 54.53, 127.72°)
OKLaboklab(49.39% -0.0936 0.0952)
OKLCHoklch(49.39% 0.134 134.5)
XYZxyz(8.0008, 12.8776, 2.6362)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7112 #451271
analogous
#6D7112 #3E7112 #127116
triadic
#3E7112 #123E71 #71123E
tetradic
#3E7112 #126D71 #451271 #711612
square
#3E7112 #126D71 #451271 #711612
split-complementary
#3E7112 #161271 #71126D
monochromatic
#0E1A04 #213C0A #3E7112 #5BA61A #78DB23

Accessibility & contrast

On white

5.87
#3E7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E7112
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7112#FFFFFF#000000##FFFFFF
##3E71121.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e7112;
/* rgb */ color: rgb(62, 113, 18);
/* oklch */ color: oklch(49.4% 0.134 134.5);
Tailwind
colors: {
  custom: {
    50: '#799a59',
    500: '#3e7112',
    950: '#000000',
  },
}
SCSS
$custom: #3e7112;
$custom-light: #799a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7112",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 92.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.1335,
    "h": 134.5
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#3E7112
secondary
#7437A8
accent
#39EF9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7112

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

Preview Lab → · Contrast checker → · Palette generator →

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