#3E8316#3E8316

#3E8316 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.154 H 137.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3E8316
RGBrgb(62, 131, 22)
HSLhsl(98, 71%, 30%)
HSVhsv(98, 83%, 51%)
CMYKcmyk(52.7%, 0%, 83.2%, 48.6%)
CIE-LABlab(48.65, -40.70, 47.51)
CIE-LCHlch(48.65, 62.56, 130.59°)
OKLaboklab(54.39% -0.1131 0.105)
OKLCHoklch(54.39% 0.154 137.1)
XYZxyz(10.2474, 17.3139, 3.5608)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8316 #5B1683
analogous
#748316 #3E8316 #168325
triadic
#3E8316 #163E83 #83163E
tetradic
#3E8316 #167483 #5B1683 #832516
square
#3E8316 #167483 #5B1683 #832516
split-complementary
#3E8316 #251683 #831674
monochromatic
#0C1A04 #254F0D #3E8316 #57B71F #73DD36

Accessibility & contrast

On white

4.71
#3E8316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3E8316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8316
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8316#FFFFFF#000000##FFFFFF
##3E83161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#3A7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8316;
/* rgb */ color: rgb(62, 131, 22);
/* oklch */ color: oklch(54.4% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3e8316',
    950: '#000000',
  },
}
SCSS
$custom: #3e8316;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8316",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 97.982,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.1543,
    "h": 137.1
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#3E8316
secondary
#8B3DB7
accent
#3AEEAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8316

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

Preview Lab → · Contrast checker → · Palette generator →

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