#3E8112#3E8112

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

Color values

HEX#3E8112
RGBrgb(62, 129, 18)
HSLhsl(96, 76%, 29%)
HSVhsv(96, 86%, 51%)
CMYKcmyk(51.9%, 0%, 86%, 49.4%)
CIE-LABlab(47.97, -40.10, 48.03)
CIE-LCHlch(47.97, 62.57, 129.86°)
OKLaboklab(53.82% -0.1117 0.1055)
OKLCHoklch(53.82% 0.154 136.6)
XYZxyz(9.9458, 16.7676, 3.2845)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8112 #551281
analogous
#768112 #3E8112 #12811E
triadic
#3E8112 #123E81 #81123E
tetradic
#3E8112 #127681 #551281 #811E12
square
#3E8112 #127681 #551281 #811E12
split-complementary
#3E8112 #1E1281 #811276
monochromatic
#0D1B04 #244B0B #3E8112 #58B719 #74E22C

Accessibility & contrast

On white

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

On black

4.35
#3E8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3E8112#FFFFFF#000000##FFFFFF
##3E81121.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e8112;
/* rgb */ color: rgb(62, 129, 18);
/* oklch */ color: oklch(53.8% 0.154 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba65c',
    500: '#3e8112',
    950: '#000000',
  },
}
SCSS
$custom: #3e8112;
$custom-light: #7ba65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8112",
  "rgb": {
    "r": 62,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 96.216,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.1536,
    "h": 136.6
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#3E8112
secondary
#8438B7
accent
#36F2A7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E8112

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

Preview Lab → · Contrast checker → · Palette generator →

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