#3F8B16#3F8B16

#3F8B16 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.6% C 0.164 H 137.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3F8B16
RGBrgb(63, 139, 22)
HSLhsl(99, 73%, 32%)
HSVhsv(99, 84%, 55%)
CMYKcmyk(54.7%, 0%, 84.2%, 45.5%)
CIE-LABlab(51.36, -43.56, 50.01)
CIE-LCHlch(51.36, 66.32, 131.06°)
OKLaboklab(56.63% -0.1208 0.1102)
OKLCHoklch(56.63% 0.164 137.6)
XYZxyz(11.4269, 19.5790, 3.9359)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B16 #62168B
analogous
#7A8B16 #3F8B16 #168B27
triadic
#3F8B16 #163F8B #8B163F
tetradic
#3F8B16 #167A8B #62168B #8B2716
square
#3F8B16 #167A8B #62168B #8B2716
split-complementary
#3F8B16 #27168B #8B167A
monochromatic
#0F2105 #27560E #3F8B16 #57C01E #75E03B

Accessibility & contrast

On white

4.27
#3F8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3F8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B16#FFFFFF#000000##000000
##3F8B161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#398676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b16;
/* rgb */ color: rgb(63, 139, 22);
/* oklch */ color: oklch(56.6% 0.164 137.6);
Tailwind
colors: {
  custom: {
    50: '#7dad5f',
    500: '#3f8b16',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b16;
$custom-light: #7dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b16",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 98.974,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.16352,
    "h": 137.6
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#3F8B16
secondary
#923EBF
accent
#38EFAF
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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