#3E6812#3E6812

#3E6812 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.122 H 132.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3E6812
RGBrgb(62, 104, 18)
HSLhsl(89, 70%, 24%)
HSVhsv(89, 83%, 41%)
CMYKcmyk(40.4%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.53, -29.30, 40.31)
CIE-LCHlch(39.53, 49.83, 126.01°)
OKLaboklab(46.89% -0.0827 0.0892)
OKLCHoklch(46.89% 0.122 132.8)
XYZxyz(7.0460, 10.9681, 2.3180)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6812 #3C1268
analogous
#686712 #3E6812 #136812
triadic
#3E6812 #123E68 #68123E
tetradic
#3E6812 #126867 #3C1268 #681213
square
#3E6812 #126867 #3C1268 #681213
split-complementary
#3E6812 #121368 #671268
monochromatic
#101A05 #1F3409 #3E6812 #5D9C1B #7CD024

Accessibility & contrast

On white

6.58
#3E6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3E6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6812
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6812#FFFFFF#000000##FFFFFF
##3E68121.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#3E6358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6812;
/* rgb */ color: rgb(62, 104, 18);
/* oklch */ color: oklch(46.9% 0.122 132.8);
Tailwind
colors: {
  custom: {
    50: '#789358',
    500: '#3e6812',
    950: '#000000',
  },
}
SCSS
$custom: #3e6812;
$custom-light: #789358;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6812",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 89.302,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.12165,
    "h": 132.8
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#3E6812
secondary
#6A36A0
accent
#3BED92
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6812

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

Preview Lab → · Contrast checker → · Palette generator →

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