#3E8115#3E8115

#3E8115 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.8% C 0.152 H 136.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3E8115
RGBrgb(62, 129, 21)
HSLhsl(97, 72%, 29%)
HSVhsv(97, 84%, 51%)
CMYKcmyk(51.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.98, -39.95, 47.19)
CIE-LCHlch(47.98, 61.83, 130.25°)
OKLaboklab(53.83% -0.1111 0.1042)
OKLCHoklch(53.83% 0.152 136.9)
XYZxyz(9.9719, 16.7781, 3.4223)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8115 #581581
analogous
#748115 #3E8115 #158122
triadic
#3E8115 #153E81 #81153E
tetradic
#3E8115 #157481 #581581 #812215
square
#3E8115 #157481 #581581 #812215
split-complementary
#3E8115 #221581 #811574
monochromatic
#0D1A04 #254C0C #3E8115 #57B61E #74DE33

Accessibility & contrast

On white

4.82
#3E8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3E8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8115
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8115#FFFFFF#000000##FFFFFF
##3E81151.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#3A7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e8115;
/* rgb */ color: rgb(62, 129, 21);
/* oklch */ color: oklch(53.8% 0.152 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba65d',
    500: '#3e8115',
    950: '#000000',
  },
}
SCSS
$custom: #3e8115;
$custom-light: #7ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8115",
  "rgb": {
    "r": 62,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 97.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.1523,
    "h": 136.9
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#3E8115
secondary
#883CB6
accent
#39EFAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8115

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

Preview Lab → · Contrast checker → · Palette generator →

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