#3E7C16#3E7C16

#3E7C16 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.146 H 136.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3E7C16
RGBrgb(62, 124, 22)
HSLhsl(96, 70%, 29%)
HSVhsv(96, 82%, 49%)
CMYKcmyk(50%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.31, -37.84, 45.34)
CIE-LCHlch(46.31, 59.05, 129.85°)
OKLaboklab(52.46% -0.1054 0.1004)
OKLCHoklch(52.46% 0.146 136.4)
XYZxyz(9.3388, 15.4967, 3.2580)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7C16 #54167C
analogous
#717C16 #3E7C16 #167C21
triadic
#3E7C16 #163E7C #7C163E
tetradic
#3E7C16 #16717C #54167C #7C2116
square
#3E7C16 #16717C #54167C #7C2116
split-complementary
#3E7C16 #21167C #7C1671
monochromatic
#0D1A05 #24480D #3E7C16 #58B01F #74DB32

Accessibility & contrast

On white

5.12
#3E7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3E7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7C16
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7C16#FFFFFF#000000##FFFFFF
##3E7C161.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#3B7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e7c16;
/* rgb */ color: rgb(62, 124, 22);
/* oklch */ color: oklch(52.5% 0.146 136.4);
Tailwind
colors: {
  custom: {
    50: '#7aa25d',
    500: '#3e7c16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7c16;
$custom-light: #7aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7c16",
  "rgb": {
    "r": 62,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 96.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.14559,
    "h": 136.4
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#3E7C16
secondary
#833DB1
accent
#3BEDA7
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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