#3E5812#3E5812

#3E5812 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.100 H 128.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3E5812
RGBrgb(62, 88, 18)
HSLhsl(82, 66%, 21%)
HSVhsv(82, 80%, 35%)
CMYKcmyk(29.5%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.08, -21.47, 35.11)
CIE-LCHlch(34.08, 41.15, 121.45°)
OKLaboklab(42.45% -0.0615 0.0783)
OKLCHoklch(42.45% 0.1 128.1)
XYZxyz(5.5855, 8.0471, 1.8311)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5812 #2C1258
analogous
#584F12 #3E5812 #1B5812
triadic
#3E5812 #123E58 #58123E
tetradic
#3E5812 #12584F #2C1258 #58121B
square
#3E5812 #12584F #2C1258 #58121B
split-complementary
#3E5812 #121B58 #4F1258
monochromatic
#121905 #1A2508 #3E5812 #628B1C #86BE27

Accessibility & contrast

On white

8.05
#3E5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5812
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5812#FFFFFF#000000##FFFFFF
##3E58121.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#40544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e5812;
/* rgb */ color: rgb(62, 88, 18);
/* oklch */ color: oklch(42.4% 0.100 128.1);
Tailwind
colors: {
  custom: {
    50: '#768756',
    500: '#3e5812',
    950: '#000000',
  },
}
SCSS
$custom: #3e5812;
$custom-light: #768756;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5812",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 82.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.09957,
    "h": 128.1
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#3E5812
secondary
#573591
accent
#3FE97E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5812

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

Preview Lab → · Contrast checker → · Palette generator →

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