#3E5918#3E5918

#3E5918 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.097 H 129.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3E5918
RGBrgb(62, 89, 24)
HSLhsl(85, 58%, 22%)
HSVhsv(85, 73%, 35%)
CMYKcmyk(30.3%, 0%, 73%, 65.1%)
CIE-LABlab(34.47, -21.55, 32.94)
CIE-LCHlch(34.47, 39.36, 123.19°)
OKLaboklab(42.78% -0.0611 0.0748)
OKLCHoklch(42.78% 0.097 129.3)
XYZxyz(5.7238, 8.2347, 2.1519)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5918 #331859
analogous
#595418 #3E5918 #1E5918
triadic
#3E5918 #183E59 #59183E
tetradic
#3E5918 #185954 #331859 #59181E
square
#3E5918 #185954 #331859 #59181E
split-complementary
#3E5918 #181E59 #541859
monochromatic
#111806 #1C290B #3E5918 #608925 #81B932

Accessibility & contrast

On white

7.93
#3E5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5918
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5918#FFFFFF#000000##FFFFFF
##3E59181.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#40554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e5918;
/* rgb */ color: rgb(62, 89, 24);
/* oklch */ color: oklch(42.8% 0.097 129.3);
Tailwind
colors: {
  custom: {
    50: '#768859',
    500: '#3e5918',
    950: '#000000',
  },
}
SCSS
$custom: #3e5918;
$custom-light: #768859;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5918",
  "rgb": {
    "r": 62,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 84.923,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.09659,
    "h": 129.3
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#3E5918
secondary
#5F3D90
accent
#47E187
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3E5918

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

Preview Lab → · Contrast checker → · Palette generator →

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