#3E4812#3E4812

#3E4812 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 38.1% C 0.077 H 119.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3E4812
RGBrgb(62, 72, 18)
HSLhsl(71, 60%, 18%)
HSVhsv(71, 75%, 28%)
CMYKcmyk(13.9%, 0%, 75%, 71.8%)
CIE-LABlab(28.65, -12.74, 29.68)
CIE-LCHlch(28.65, 32.30, 113.24°)
OKLaboklab(38.05% -0.0375 0.0669)
OKLCHoklch(38.05% 0.077 119.3)
XYZxyz(4.4132, 5.7026, 1.4404)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4812 #1C1248
analogous
#483712 #3E4812 #234812
triadic
#3E4812 #123E48 #48123E
tetradic
#3E4812 #124837 #1C1248 #481223
square
#3E4812 #124837 #1C1248 #481223
split-complementary
#3E4812 #122348 #371248
monochromatic
#151806 #151806 #3E4812 #68791E #92AA2A

Accessibility & contrast

On white

9.81
#3E4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4812
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4812#FFFFFF#000000##FFFFFF
##3E48121.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#42443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e4812;
/* rgb */ color: rgb(62, 72, 18);
/* oklch */ color: oklch(38.1% 0.077 119.3);
Tailwind
colors: {
  custom: {
    50: '#757b53',
    500: '#3e4812',
    950: '#000000',
  },
}
SCSS
$custom: #3e4812;
$custom-light: #757b53;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4812",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 71.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.07671,
    "h": 119.3
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#3E4812
secondary
#433581
accent
#45E362
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #3E4812

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

Preview Lab → · Contrast checker → · Palette generator →

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