#3E8216#3E8216

#3E8216 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.153 H 137.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3E8216
RGBrgb(62, 130, 22)
HSLhsl(98, 71%, 30%)
HSVhsv(98, 83%, 51%)
CMYKcmyk(52.3%, 0%, 83.1%, 49%)
CIE-LABlab(48.32, -40.30, 47.20)
CIE-LCHlch(48.32, 62.07, 130.49°)
OKLaboklab(54.11% -0.112 0.1043)
OKLCHoklch(54.11% 0.153 137)
XYZxyz(10.1137, 17.0466, 3.5163)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8216 #5A1682
analogous
#748216 #3E8216 #168224
triadic
#3E8216 #163E82 #82163E
tetradic
#3E8216 #167482 #5A1682 #822416
square
#3E8216 #167482 #5A1682 #822416
split-complementary
#3E8216 #241682 #821674
monochromatic
#0C1A04 #254E0D #3E8216 #57B61F #73DD35

Accessibility & contrast

On white

4.76
#3E8216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3E8216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8216
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8216#FFFFFF#000000##FFFFFF
##3E82161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#3A7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e8216;
/* rgb */ color: rgb(62, 130, 22);
/* oklch */ color: oklch(54.1% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba75e',
    500: '#3e8216',
    950: '#000000',
  },
}
SCSS
$custom: #3e8216;
$custom-light: #7ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8216",
  "rgb": {
    "r": 62,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 97.778,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.15306,
    "h": 137
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#3E8216
secondary
#8A3DB7
accent
#3AEEAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8216

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

Preview Lab → · Contrast checker → · Palette generator →

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