#3F7E16#3F7E16

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

Color values

HEX#3F7E16
RGBrgb(63, 126, 22)
HSLhsl(96, 70%, 29%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(50%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.02, -38.34, 46.02)
CIE-LCHlch(47.02, 59.90, 129.80°)
OKLaboklab(53.06% -0.1068 0.1018)
OKLCHoklch(53.06% 0.148 136.4)
XYZxyz(9.6553, 16.0357, 3.3453)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E16 #55167E
analogous
#737E16 #3F7E16 #167E21
triadic
#3F7E16 #163F7E #7E163F
tetradic
#3F7E16 #16737E #55167E #7E2116
square
#3F7E16 #16737E #55167E #7E2116
split-complementary
#3F7E16 #21167E #7E1673
monochromatic
#0D1A05 #254A0D #3F7E16 #59B21F #75DB33

Accessibility & contrast

On white

4.99
#3F7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3F7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E16
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E16#FFFFFF#000000##FFFFFF
##3F7E161.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7e16;
/* rgb */ color: rgb(63, 126, 22);
/* oklch */ color: oklch(53.1% 0.148 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba45d',
    500: '#3f7e16',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e16;
$custom-light: #7ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e16",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 96.346,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.14758,
    "h": 136.4
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#3F7E16
secondary
#843DB3
accent
#3BEDA7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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