#3E5017#3E5017

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

Color values

HEX#3E5017
RGBrgb(62, 80, 23)
HSLhsl(79, 55%, 20%)
HSVhsv(79, 71%, 31%)
CMYKcmyk(22.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.40, -16.84, 30.19)
CIE-LCHlch(31.40, 34.57, 119.16°)
OKLaboklab(40.29% -0.0483 0.0688)
OKLCHoklch(40.29% 0.084 125.1)
XYZxyz(5.0099, 6.8233, 1.8635)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5017 #291750
analogous
#504517 #3E5017 #225017
triadic
#3E5017 #173E50 #50173E
tetradic
#3E5017 #175045 #291750 #501722
square
#3E5017 #175045 #291750 #501722
split-complementary
#3E5017 #172250 #451750
monochromatic
#121807 #192009 #3E5017 #638025 #88AF32

Accessibility & contrast

On white

8.88
#3E5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5017
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5017#FFFFFF#000000##FFFFFF
##3E50171.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5017;
/* rgb */ color: rgb(62, 80, 23);
/* oklch */ color: oklch(40.3% 0.084 125.1);
Tailwind
colors: {
  custom: {
    50: '#758157',
    500: '#3e5017',
    950: '#000000',
  },
}
SCSS
$custom: #3e5017;
$custom-light: #758157;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5017",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 78.947,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.08409,
    "h": 125.1
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#3E5017
secondary
#533C87
accent
#49DF78
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E5017

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

Preview Lab → · Contrast checker → · Palette generator →

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