#3E5818#3E5818

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

Color values

HEX#3E5818
RGBrgb(62, 88, 24)
HSLhsl(84, 57%, 22%)
HSVhsv(84, 73%, 35%)
CMYKcmyk(29.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(34.13, -21.03, 32.58)
CIE-LCHlch(34.13, 38.78, 122.84°)
OKLaboklab(42.5% -0.0597 0.074)
OKLCHoklch(42.5% 0.095 128.9)
XYZxyz(5.6412, 8.0694, 2.1243)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5818 #321858
analogous
#585218 #3E5818 #1E5818
triadic
#3E5818 #183E58 #58183E
tetradic
#3E5818 #185852 #321858 #58181E
square
#3E5818 #185852 #321858 #58181E
split-complementary
#3E5818 #181E58 #521858
monochromatic
#111807 #1C280B #3E5818 #608825 #82B832

Accessibility & contrast

On white

8.03
#3E5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E5818
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5818#FFFFFF#000000##FFFFFF
##3E58181.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5818;
/* rgb */ color: rgb(62, 88, 24);
/* oklch */ color: oklch(42.5% 0.095 128.9);
Tailwind
colors: {
  custom: {
    50: '#768759',
    500: '#3e5818',
    950: '#000000',
  },
}
SCSS
$custom: #3e5818;
$custom-light: #768759;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5818",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 84.375,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.09512,
    "h": 128.9
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#3E5818
secondary
#5E3D8F
accent
#47E086
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3E5818

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

Preview Lab → · Contrast checker → · Palette generator →

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