#3E5817#3E5817

#3E5817 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.096 H 128.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3E5817
RGBrgb(62, 88, 23)
HSLhsl(84, 59%, 22%)
HSVhsv(84, 74%, 35%)
CMYKcmyk(29.5%, 0%, 73.9%, 65.5%)
CIE-LABlab(34.12, -21.11, 33.03)
CIE-LCHlch(34.12, 39.20, 122.58°)
OKLaboklab(42.49% -0.06 0.0748)
OKLCHoklch(42.49% 0.096 128.7)
XYZxyz(5.6310, 8.0653, 2.0705)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5817 #311758
analogous
#585217 #3E5817 #1E5817
triadic
#3E5817 #173E58 #58173E
tetradic
#3E5817 #175852 #311758 #58171E
square
#3E5817 #175852 #311758 #58171E
split-complementary
#3E5817 #171E58 #521758
monochromatic
#111806 #1C270A #3E5817 #608924 #82B930

Accessibility & contrast

On white

8.04
#3E5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E5817
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5817#FFFFFF#000000##FFFFFF
##3E58171.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510D
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#40544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e5817;
/* rgb */ color: rgb(62, 88, 23);
/* oklch */ color: oklch(42.5% 0.096 128.7);
Tailwind
colors: {
  custom: {
    50: '#768758',
    500: '#3e5817',
    950: '#000000',
  },
}
SCSS
$custom: #3e5817;
$custom-light: #768758;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5817",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.09592,
    "h": 128.7
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#3E5817
secondary
#5D3C8F
accent
#46E284
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5817

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

Preview Lab → · Contrast checker → · Palette generator →

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