#3E7917#3E7917

#3E7917 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.141 H 136.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3E7917
RGBrgb(62, 121, 23)
HSLhsl(96, 68%, 28%)
HSVhsv(96, 81%, 47%)
CMYKcmyk(48.8%, 0%, 81%, 52.5%)
CIE-LABlab(45.30, -36.53, 44.06)
CIE-LCHlch(45.30, 57.24, 129.66°)
OKLaboklab(51.63% -0.1018 0.0979)
OKLCHoklch(51.63% 0.141 136.1)
XYZxyz(8.9784, 14.7602, 3.1863)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7917 #521779
analogous
#6F7917 #3E7917 #177921
triadic
#3E7917 #173E79 #79173E
tetradic
#3E7917 #176F79 #521779 #792117
square
#3E7917 #176F79 #521779 #792117
split-complementary
#3E7917 #211779 #79176F
monochromatic
#0D1A05 #24460D #3E7917 #58AC21 #74D832

Accessibility & contrast

On white

5.31
#3E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3E7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7917
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7917#FFFFFF#000000##FFFFFF
##3E79171.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e7917;
/* rgb */ color: rgb(62, 121, 23);
/* oklch */ color: oklch(51.6% 0.141 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa05d',
    500: '#3e7917',
    950: '#000000',
  },
}
SCSS
$custom: #3e7917;
$custom-light: #7aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7917",
  "rgb": {
    "r": 62,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 96.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.14125,
    "h": 136.1
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#3E7917
secondary
#813EAE
accent
#3DEBA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E7917

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

Preview Lab → · Contrast checker → · Palette generator →

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