#3F7B16#3F7B16

#3F7B16 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.144 H 136.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F7B16
RGBrgb(63, 123, 22)
HSLhsl(96, 70%, 28%)
HSVhsv(96, 82%, 48%)
CMYKcmyk(48.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.02, -37.09, 45.08)
CIE-LCHlch(46.02, 58.38, 129.45°)
OKLaboklab(52.23% -0.1035 0.0999)
OKLCHoklch(52.23% 0.144 136)
XYZxyz(9.2774, 15.2800, 3.2194)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7B16 #52167B
analogous
#717B16 #3F7B16 #167B20
triadic
#3F7B16 #163F7B #7B163F
tetradic
#3F7B16 #16717B #52167B #7B2016
square
#3F7B16 #16717B #52167B #7B2016
split-complementary
#3F7B16 #20167B #7B1671
monochromatic
#0D1A05 #24470D #3F7B16 #5AAF1F #76DA31

Accessibility & contrast

On white

5.18
#3F7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3F7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7B16
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7B16#FFFFFF#000000##FFFFFF
##3F7B161.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#3C7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f7b16;
/* rgb */ color: rgb(63, 123, 22);
/* oklch */ color: oklch(52.2% 0.144 136.0);
Tailwind
colors: {
  custom: {
    50: '#7aa25d',
    500: '#3f7b16',
    950: '#000000',
  },
}
SCSS
$custom: #3f7b16;
$custom-light: #7aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7b16",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 95.644,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.14379,
    "h": 136
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#3F7B16
secondary
#813DB0
accent
#3BECA5
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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