#3E4912#3E4912

#3E4912 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.3% C 0.078 H 120.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3E4912
RGBrgb(62, 73, 18)
HSLhsl(72, 60%, 18%)
HSVhsv(72, 75%, 29%)
CMYKcmyk(15.1%, 0%, 75.3%, 71.4%)
CIE-LABlab(28.99, -13.32, 30.03)
CIE-LCHlch(28.99, 32.85, 113.92°)
OKLaboklab(38.33% -0.0391 0.0677)
OKLCHoklch(38.33% 0.078 120)
XYZxyz(4.4784, 5.8329, 1.4621)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4912 #1D1249
analogous
#493812 #3E4912 #224912
triadic
#3E4912 #123E49 #49123E
tetradic
#3E4912 #124938 #1D1249 #491222
square
#3E4912 #124938 #1D1249 #491222
split-complementary
#3E4912 #122249 #381249
monochromatic
#151906 #151906 #3E4912 #687A1E #91AB2A

Accessibility & contrast

On white

9.69
#3E4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4912
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4912#FFFFFF#000000##FFFFFF
##3E49121.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#4D4416
Tritanopia (blue-blind)
#42453E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e4912;
/* rgb */ color: rgb(62, 73, 18);
/* oklch */ color: oklch(38.3% 0.078 120.0);
Tailwind
colors: {
  custom: {
    50: '#757b54',
    500: '#3e4912',
    950: '#000000',
  },
}
SCSS
$custom: #3e4912;
$custom-light: #757b54;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4912",
  "rgb": {
    "r": 62,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.07813,
    "h": 120
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#3E4912
secondary
#443582
accent
#44E464
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #3E4912

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

Preview Lab → · Contrast checker → · Palette generator →

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