#3E7A16#3E7A16

#3E7A16 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.143 H 136.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3E7A16
RGBrgb(62, 122, 22)
HSLhsl(96, 69%, 28%)
HSVhsv(96, 82%, 48%)
CMYKcmyk(49.2%, 0%, 82%, 52.2%)
CIE-LABlab(45.63, -37.01, 44.71)
CIE-LCHlch(45.63, 58.04, 129.62°)
OKLaboklab(51.9% -0.1032 0.0991)
OKLCHoklch(51.9% 0.143 136.1)
XYZxyz(9.0907, 15.0005, 3.1753)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7A16 #52167A
analogous
#707A16 #3E7A16 #167A20
triadic
#3E7A16 #163E7A #7A163E
tetradic
#3E7A16 #16707A #52167A #7A2016
square
#3E7A16 #16707A #52167A #7A2016
split-complementary
#3E7A16 #20167A #7A1670
monochromatic
#0D1A05 #24460D #3E7A16 #58AE1F #74DA31

Accessibility & contrast

On white

5.25
#3E7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3E7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7A16
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7A16#FFFFFF#000000##FFFFFF
##3E7A161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#3B7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e7a16;
/* rgb */ color: rgb(62, 122, 22);
/* oklch */ color: oklch(51.9% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa15d',
    500: '#3e7a16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7a16;
$custom-light: #7aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7a16",
  "rgb": {
    "r": 62,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 96,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.14305,
    "h": 136.1
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#3E7A16
secondary
#813DAF
accent
#3CECA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3E7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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