#3E7617#3E7617

#3E7617 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.8% C 0.137 H 135.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3E7617
RGBrgb(62, 118, 23)
HSLhsl(95, 67%, 28%)
HSVhsv(95, 81%, 46%)
CMYKcmyk(47.5%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.29, -35.25, 43.10)
CIE-LCHlch(44.29, 55.68, 129.27°)
OKLaboklab(50.8% -0.0984 0.0959)
OKLCHoklch(50.8% 0.137 135.7)
XYZxyz(8.6195, 14.0423, 3.0667)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7617 #4F1776
analogous
#6E7617 #3E7617 #17761F
triadic
#3E7617 #173E76 #76173E
tetradic
#3E7617 #176E76 #4F1776 #761F17
square
#3E7617 #176E76 #4F1776 #761F17
split-complementary
#3E7617 #1F1776 #76176E
monochromatic
#0D1A05 #23430D #3E7617 #59A921 #75D731

Accessibility & contrast

On white

5.51
#3E7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3E7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7617
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7617#FFFFFF#000000##FFFFFF
##3E76171.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#3C7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3e7617;
/* rgb */ color: rgb(62, 118, 23);
/* oklch */ color: oklch(50.8% 0.137 135.7);
Tailwind
colors: {
  custom: {
    50: '#799e5c',
    500: '#3e7617',
    950: '#000000',
  },
}
SCSS
$custom: #3e7617;
$custom-light: #799e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7617",
  "rgb": {
    "r": 62,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 95.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.13737,
    "h": 135.7
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#3E7617
secondary
#7E3EAB
accent
#3EEAA3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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