#3F7916#3F7916

#3F7916 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.141 H 135.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3F7916
RGBrgb(63, 121, 22)
HSLhsl(95, 69%, 28%)
HSVhsv(95, 82%, 47%)
CMYKcmyk(47.9%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.34, -36.25, 44.45)
CIE-LCHlch(45.34, 57.35, 129.20°)
OKLaboklab(51.68% -0.1012 0.0985)
OKLCHoklch(51.68% 0.141 135.8)
XYZxyz(9.0319, 14.7889, 3.1375)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7916 #501679
analogous
#707916 #3F7916 #16791F
triadic
#3F7916 #163F79 #79163F
tetradic
#3F7916 #167079 #501679 #791F16
square
#3F7916 #167079 #501679 #791F16
split-complementary
#3F7916 #1F1679 #791670
monochromatic
#0D1A05 #24450D #3F7916 #5AAD1F #76D930

Accessibility & contrast

On white

5.31
#3F7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7916
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7916#FFFFFF#000000##FFFFFF
##3F79161.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#3D7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7916;
/* rgb */ color: rgb(63, 121, 22);
/* oklch */ color: oklch(51.7% 0.141 135.8);
Tailwind
colors: {
  custom: {
    50: '#7aa05c',
    500: '#3f7916',
    950: '#000000',
  },
}
SCSS
$custom: #3f7916;
$custom-light: #7aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7916",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 95.152,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.14124,
    "h": 135.8
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#3F7916
secondary
#7F3DAE
accent
#3CECA3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3F7916

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

Preview Lab → · Contrast checker → · Palette generator →

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