#3E5716#3E5716

#3E5716 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.095 H 128.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3E5716
RGBrgb(62, 87, 22)
HSLhsl(83, 60%, 21%)
HSVhsv(83, 75%, 34%)
CMYKcmyk(28.7%, 0%, 74.7%, 65.9%)
CIE-LABlab(33.77, -20.67, 33.11)
CIE-LCHlch(33.77, 39.04, 121.97°)
OKLaboklab(42.2% -0.0589 0.0748)
OKLCHoklch(42.2% 0.095 128.2)
XYZxyz(5.5396, 7.8983, 1.9916)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5716 #2F1657
analogous
#575016 #3E5716 #1E5716
triadic
#3E5716 #163E57 #57163E
tetradic
#3E5716 #165750 #2F1657 #57161E
square
#3E5716 #165750 #2F1657 #57161E
split-complementary
#3E5716 #161E57 #501657
monochromatic
#111806 #1B260A #3E5716 #618822 #84B92F

Accessibility & contrast

On white

8.14
#3E5716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E5716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5716
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5716#FFFFFF#000000##FFFFFF
##3E57161.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#40534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e5716;
/* rgb */ color: rgb(62, 87, 22);
/* oklch */ color: oklch(42.2% 0.095 128.2);
Tailwind
colors: {
  custom: {
    50: '#768658',
    500: '#3e5716',
    950: '#000000',
  },
}
SCSS
$custom: #3e5716;
$custom-light: #768658;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5716",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 83.077,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.09524,
    "h": 128.2
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#3E5716
secondary
#5B3A8E
accent
#45E382
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5716

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

Preview Lab → · Contrast checker → · Palette generator →

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