#3E7E16#3E7E16

#3E7E16 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.148 H 136.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3E7E16
RGBrgb(62, 126, 22)
HSLhsl(97, 70%, 29%)
HSVhsv(97, 83%, 49%)
CMYKcmyk(50.8%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.98, -38.67, 45.96)
CIE-LCHlch(46.98, 60.07, 130.08°)
OKLaboklab(53.01% -0.1076 0.1017)
OKLCHoklch(53.01% 0.148 136.6)
XYZxyz(9.5920, 16.0031, 3.3424)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7E16 #56167E
analogous
#727E16 #3E7E16 #167E22
triadic
#3E7E16 #163E7E #7E163E
tetradic
#3E7E16 #16727E #56167E #7E2216
square
#3E7E16 #16727E #56167E #7E2216
split-complementary
#3E7E16 #22167E #7E1672
monochromatic
#0D1A05 #244A0D #3E7E16 #58B21F #74DB33

Accessibility & contrast

On white

5.00
#3E7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3E7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7E16
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7E16#FFFFFF#000000##FFFFFF
##3E7E161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#3B796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7e16;
/* rgb */ color: rgb(62, 126, 22);
/* oklch */ color: oklch(53.0% 0.148 136.6);
Tailwind
colors: {
  custom: {
    50: '#7aa45d',
    500: '#3e7e16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7e16;
$custom-light: #7aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7e16",
  "rgb": {
    "r": 62,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 96.923,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.1481,
    "h": 136.6
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#3E7E16
secondary
#863DB3
accent
#3BEDA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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