#3E5912#3E5912

#3E5912 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.101 H 128.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3E5912
RGBrgb(62, 89, 18)
HSLhsl(83, 66%, 21%)
HSVhsv(83, 80%, 35%)
CMYKcmyk(30.3%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.42, -21.99, 35.44)
CIE-LCHlch(34.42, 41.70, 121.82°)
OKLaboklab(42.72% -0.0629 0.079)
OKLCHoklch(42.72% 0.101 128.5)
XYZxyz(5.6682, 8.2124, 1.8587)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5912 #2D1259
analogous
#595012 #3E5912 #1A5912
triadic
#3E5912 #123E59 #59123E
tetradic
#3E5912 #125950 #2D1259 #59121A
square
#3E5912 #125950 #2D1259 #59121A
split-complementary
#3E5912 #121A59 #501259
monochromatic
#121905 #1B2608 #3E5912 #618C1C #85BF27

Accessibility & contrast

On white

7.95
#3E5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5912
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5912#FFFFFF#000000##FFFFFF
##3E59121.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#40554B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e5912;
/* rgb */ color: rgb(62, 89, 18);
/* oklch */ color: oklch(42.7% 0.101 128.5);
Tailwind
colors: {
  custom: {
    50: '#768856',
    500: '#3e5912',
    950: '#000000',
  },
}
SCSS
$custom: #3e5912;
$custom-light: #768856;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5912",
  "rgb": {
    "r": 62,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 82.817,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.10098,
    "h": 128.5
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#3E5912
secondary
#583592
accent
#3FE97F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5912

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

Preview Lab → · Contrast checker → · Palette generator →

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