#3E7115#3E7115

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

Color values

HEX#3E7115
RGBrgb(62, 113, 21)
HSLhsl(93, 69%, 26%)
HSVhsv(93, 81%, 44%)
CMYKcmyk(45.1%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.59, -33.19, 42.17)
CIE-LCHlch(42.59, 53.67, 128.20°)
OKLaboklab(49.41% -0.093 0.0936)
OKLCHoklch(49.41% 0.132 134.8)
XYZxyz(8.0269, 12.8881, 2.7740)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7115 #481571
analogous
#6C7115 #3E7115 #15711A
triadic
#3E7115 #153E71 #71153E
tetradic
#3E7115 #156C71 #481571 #711A15
square
#3E7115 #156C71 #481571 #711A15
split-complementary
#3E7115 #1A1571 #71156C
monochromatic
#0E1A05 #223D0B #3E7115 #5AA51F #77D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7115#FFFFFF#000000##FFFFFF
##3E71151.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)
#6F631F
Tritanopia (blue-blind)
#3D6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7115;
/* rgb */ color: rgb(62, 113, 21);
/* oklch */ color: oklch(49.4% 0.132 134.8);
Tailwind
colors: {
  custom: {
    50: '#799a5b',
    500: '#3e7115',
    950: '#000000',
  },
}
SCSS
$custom: #3e7115;
$custom-light: #799a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7115",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 93.261,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.13195,
    "h": 134.8
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#3E7115
secondary
#773BA7
accent
#3CEB9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7115

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

Preview Lab → · Contrast checker → · Palette generator →

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