#3E6012#3E6012

#3E6012 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.7% C 0.111 H 130.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3E6012
RGBrgb(62, 96, 18)
HSLhsl(86, 68%, 22%)
HSVhsv(86, 81%, 38%)
CMYKcmyk(35.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.81, -25.49, 37.73)
CIE-LCHlch(36.81, 45.53, 124.04°)
OKLaboklab(44.66% -0.0724 0.0838)
OKLCHoklch(44.66% 0.111 130.8)
XYZxyz(6.2786, 9.4333, 2.0622)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6012 #341260
analogous
#605B12 #3E6012 #176012
triadic
#3E6012 #123E60 #60123E
tetradic
#3E6012 #12605B #341260 #601217
square
#3E6012 #12605B #341260 #601217
split-complementary
#3E6012 #121760 #5B1260
monochromatic
#111A05 #1D2C08 #3E6012 #5F941C #81C725

Accessibility & contrast

On white

7.27
#3E6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3E6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E6012
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6012#FFFFFF#000000##FFFFFF
##3E60121.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#3F5C51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e6012;
/* rgb */ color: rgb(62, 96, 18);
/* oklch */ color: oklch(44.7% 0.111 130.8);
Tailwind
colors: {
  custom: {
    50: '#778d57',
    500: '#3e6012',
    950: '#000000',
  },
}
SCSS
$custom: #3e6012;
$custom-light: #778d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6012",
  "rgb": {
    "r": 62,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 86.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.11076,
    "h": 130.8
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#3E6012
secondary
#613698
accent
#3DEB89
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3E6012

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

Preview Lab → · Contrast checker → · Palette generator →

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