#3F8116#3F8116

#3F8116 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.151 H 136.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F8116
RGBrgb(63, 129, 22)
HSLhsl(97, 71%, 30%)
HSVhsv(97, 83%, 51%)
CMYKcmyk(51.2%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.03, -39.58, 46.95)
CIE-LCHlch(48.03, 61.40, 130.13°)
OKLaboklab(53.88% -0.1101 0.1038)
OKLCHoklch(53.88% 0.151 136.7)
XYZxyz(10.0447, 16.8145, 3.4751)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8116 #581681
analogous
#758116 #3F8116 #168122
triadic
#3F8116 #163F81 #81163F
tetradic
#3F8116 #167581 #581681 #812216
square
#3F8116 #167581 #581681 #812216
split-complementary
#3F8116 #221681 #811675
monochromatic
#0D1A04 #254D0D #3F8116 #59B51F #75DD35

Accessibility & contrast

On white

4.81
#3F8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8116
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8116#FFFFFF#000000##FFFFFF
##3F81161.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8116;
/* rgb */ color: rgb(63, 129, 22);
/* oklch */ color: oklch(53.9% 0.151 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba65e',
    500: '#3f8116',
    950: '#000000',
  },
}
SCSS
$custom: #3f8116;
$custom-light: #7ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8116",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 97.009,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.15132,
    "h": 136.7
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#3F8116
secondary
#873DB6
accent
#3AEEA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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