#3E5019#3E5019

#3E5019 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.082 H 125.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3E5019
RGBrgb(62, 80, 25)
HSLhsl(80, 52%, 21%)
HSVhsv(80, 69%, 31%)
CMYKcmyk(22.5%, 0%, 68.8%, 68.6%)
CIE-LABlab(31.42, -16.67, 29.23)
CIE-LCHlch(31.42, 33.65, 119.69°)
OKLaboklab(40.31% -0.0476 0.0671)
OKLCHoklch(40.31% 0.082 125.3)
XYZxyz(5.0308, 6.8316, 1.9731)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5019 #2B1950
analogous
#504619 #3E5019 #225019
triadic
#3E5019 #193E50 #50193E
tetradic
#3E5019 #195046 #2B1950 #501922
square
#3E5019 #195046 #2B1950 #501922
split-complementary
#3E5019 #192250 #461950
monochromatic
#121707 #1A210A #3E5019 #627F28 #86AD36

Accessibility & contrast

On white

8.87
#3E5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5019
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5019#FFFFFF#000000##FFFFFF
##3E50191.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#524A1D
Tritanopia (blue-blind)
#414C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e5019;
/* rgb */ color: rgb(62, 80, 25);
/* oklch */ color: oklch(40.3% 0.082 125.3);
Tailwind
colors: {
  custom: {
    50: '#758159',
    500: '#3e5019',
    950: '#000000',
  },
}
SCSS
$custom: #3e5019;
$custom-light: #758159;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5019",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 79.636,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.08228,
    "h": 125.3
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#3E5019
secondary
#563E86
accent
#4CDC7B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E5019

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

Preview Lab → · Contrast checker → · Palette generator →

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