#3E7D16#3E7D16

#3E7D16 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.147 H 136.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D16
RGBrgb(62, 125, 22)
HSLhsl(97, 70%, 29%)
HSVhsv(97, 82%, 49%)
CMYKcmyk(50.4%, 0%, 82.4%, 51%)
CIE-LABlab(46.64, -38.26, 45.65)
CIE-LCHlch(46.64, 59.56, 129.97°)
OKLaboklab(52.73% -0.1065 0.1011)
OKLCHoklch(52.73% 0.147 136.5)
XYZxyz(9.4648, 15.7486, 3.3000)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D16 #55167D
analogous
#727D16 #3E7D16 #167D22
triadic
#3E7D16 #163E7D #7D163E
tetradic
#3E7D16 #16727D #55167D #7D2216
square
#3E7D16 #16727D #55167D #7D2216
split-complementary
#3E7D16 #22167D #7D1672
monochromatic
#0D1A05 #24490D #3E7D16 #58B11F #74DB32

Accessibility & contrast

On white

5.06
#3E7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D16#FFFFFF#000000##FFFFFF
##3E7D161.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#3B786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d16;
/* rgb */ color: rgb(62, 125, 22);
/* oklch */ color: oklch(52.7% 0.147 136.5);
Tailwind
colors: {
  custom: {
    50: '#7aa35d',
    500: '#3e7d16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d16;
$custom-light: #7aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d16",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 96.699,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.14684,
    "h": 136.5
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#3E7D16
secondary
#843DB2
accent
#3BEDA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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