#3E7118#3E7118

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

Color values

HEX#3E7118
RGBrgb(62, 113, 24)
HSLhsl(94, 65%, 27%)
HSVhsv(94, 79%, 44%)
CMYKcmyk(45.1%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.61, -33.00, 41.13)
CIE-LCHlch(42.61, 52.73, 128.75°)
OKLaboklab(49.43% -0.0922 0.0919)
OKLCHoklch(49.43% 0.13 135.1)
XYZxyz(8.0564, 12.8999, 2.9294)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7118 #4B1871
analogous
#6B7118 #3E7118 #18711E
triadic
#3E7118 #183E71 #71183E
tetradic
#3E7118 #186B71 #4B1871 #711E18
square
#3E7118 #186B71 #4B1871 #711E18
split-complementary
#3E7118 #1E1871 #71186B
monochromatic
#0E1905 #223F0D #3E7118 #5AA323 #76D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7118#FFFFFF#000000##FFFFFF
##3E71181.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)
#756705
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#3D6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7118;
/* rgb */ color: rgb(62, 113, 24);
/* oklch */ color: oklch(49.4% 0.130 135.1);
Tailwind
colors: {
  custom: {
    50: '#789a5c',
    500: '#3e7118',
    950: '#000000',
  },
}
SCSS
$custom: #3e7118;
$custom-light: #789a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7118",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 94.382,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.13022,
    "h": 135.1
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#3E7118
secondary
#7A3EA6
accent
#40E8A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7118

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

Preview Lab → · Contrast checker → · Palette generator →

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