#3E5916#3E5916

#3E5916 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.098 H 129.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3E5916
RGBrgb(62, 89, 22)
HSLhsl(84, 60%, 22%)
HSVhsv(84, 75%, 35%)
CMYKcmyk(30.3%, 0%, 75.3%, 65.1%)
CIE-LABlab(34.45, -21.70, 33.81)
CIE-LCHlch(34.45, 40.18, 122.70°)
OKLaboklab(42.76% -0.0618 0.0763)
OKLCHoklch(42.76% 0.098 129)
XYZxyz(5.7038, 8.2267, 2.0463)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5916 #311659
analogous
#595316 #3E5916 #1D5916
triadic
#3E5916 #163E59 #59163E
tetradic
#3E5916 #165953 #311659 #59161D
square
#3E5916 #165953 #311659 #59161D
split-complementary
#3E5916 #161D59 #531659
monochromatic
#111906 #1C280A #3E5916 #608A22 #82BB2E

Accessibility & contrast

On white

7.94
#3E5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5916
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5916#FFFFFF#000000##FFFFFF
##3E59161.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520B
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#40554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e5916;
/* rgb */ color: rgb(62, 89, 22);
/* oklch */ color: oklch(42.8% 0.098 129.0);
Tailwind
colors: {
  custom: {
    50: '#768858',
    500: '#3e5916',
    950: '#000000',
  },
}
SCSS
$custom: #3e5916;
$custom-light: #768858;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5916",
  "rgb": {
    "r": 62,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 84.179,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.09815,
    "h": 129
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#3E5916
secondary
#5D3B90
accent
#44E484
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5916

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

Preview Lab → · Contrast checker → · Palette generator →

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