#3E7117#3E7117

#3E7117 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.131 H 135.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3E7117
RGBrgb(62, 113, 23)
HSLhsl(94, 66%, 27%)
HSVhsv(94, 80%, 44%)
CMYKcmyk(45.1%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.61, -33.07, 41.48)
CIE-LCHlch(42.61, 53.05, 128.56°)
OKLaboklab(49.42% -0.0925 0.0925)
OKLCHoklch(49.42% 0.131 135)
XYZxyz(8.0462, 12.8958, 2.8756)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7117 #4A1771
analogous
#6B7117 #3E7117 #17711D
triadic
#3E7117 #173E71 #71173E
tetradic
#3E7117 #176B71 #4A1771 #711D17
square
#3E7117 #176B71 #4A1771 #711D17
split-complementary
#3E7117 #1D1771 #71176B
monochromatic
#0E1905 #223E0D #3E7117 #5AA421 #76D42E

Accessibility & contrast

On white

5.87
#3E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3E7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7117
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7117#FFFFFF#000000##FFFFFF
##3E71171.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#3D6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7117;
/* rgb */ color: rgb(62, 113, 23);
/* oklch */ color: oklch(49.4% 0.131 135.0);
Tailwind
colors: {
  custom: {
    50: '#789a5c',
    500: '#3e7117',
    950: '#000000',
  },
}
SCSS
$custom: #3e7117;
$custom-light: #789a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7117",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 94,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.13081,
    "h": 135
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#3E7117
secondary
#793DA7
accent
#3FE99F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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