#3F8816#3F8816

#3F8816 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.160 H 137.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3F8816
RGBrgb(63, 136, 22)
HSLhsl(98, 72%, 31%)
HSVhsv(98, 84%, 53%)
CMYKcmyk(53.7%, 0%, 83.8%, 46.7%)
CIE-LABlab(50.36, -42.39, 49.10)
CIE-LCHlch(50.36, 64.86, 130.81°)
OKLaboklab(55.81% -0.1177 0.1083)
OKLCHoklch(55.81% 0.16 137.4)
XYZxyz(10.9985, 18.7222, 3.7931)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8816 #5F1688
analogous
#788816 #3F8816 #168826
triadic
#3F8816 #163F88 #88163F
tetradic
#3F8816 #167888 #5F1688 #882616
square
#3F8816 #167888 #5F1688 #882616
split-complementary
#3F8816 #261688 #881678
monochromatic
#0E1F05 #27530D #3F8816 #57BD1F #75DF39

Accessibility & contrast

On white

4.43
#3F8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3F8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8816
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8816#FFFFFF#000000##000000
##3F88161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#3A8373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f8816;
/* rgb */ color: rgb(63, 136, 22);
/* oklch */ color: oklch(55.8% 0.160 137.4);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3f8816',
    950: '#000000',
  },
}
SCSS
$custom: #3f8816;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8816",
  "rgb": {
    "r": 63,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 98.421,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.15991,
    "h": 137.4
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#3F8816
secondary
#8F3EBC
accent
#39EFAD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8816

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

Preview Lab → · Contrast checker → · Palette generator →

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