#3E5A17#3E5A17

#3E5A17 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.099 H 129.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3E5A17
RGBrgb(62, 90, 23)
HSLhsl(85, 59%, 22%)
HSVhsv(85, 74%, 35%)
CMYKcmyk(31.1%, 0%, 74.4%, 64.7%)
CIE-LABlab(34.80, -22.14, 33.73)
CIE-LCHlch(34.80, 40.35, 123.28°)
OKLaboklab(43.04% -0.0628 0.0763)
OKLCHoklch(43.04% 0.099 129.5)
XYZxyz(5.7974, 8.3982, 2.1260)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5A17 #33175A
analogous
#5A5517 #3E5A17 #1C5A17
triadic
#3E5A17 #173E5A #5A173E
tetradic
#3E5A17 #175A55 #33175A #5A171C
square
#3E5A17 #175A55 #33175A #5A171C
split-complementary
#3E5A17 #171C5A #55175A
monochromatic
#111806 #1C290B #3E5A17 #608B23 #81BB30

Accessibility & contrast

On white

7.84
#3E5A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E5A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5A17
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5A17#FFFFFF#000000##FFFFFF
##3E5A171.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530D
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#40564D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e5a17;
/* rgb */ color: rgb(62, 90, 23);
/* oklch */ color: oklch(43.0% 0.099 129.5);
Tailwind
colors: {
  custom: {
    50: '#768959',
    500: '#3e5a17',
    950: '#000000',
  },
}
SCSS
$custom: #3e5a17;
$custom-light: #768959;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5a17",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 85.075,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.09884,
    "h": 129.5
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#3E5A17
secondary
#5F3C91
accent
#45E287
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3E5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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