#3F8716#3F8716

#3F8716 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.5% C 0.159 H 137.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3F8716
RGBrgb(63, 135, 22)
HSLhsl(98, 72%, 31%)
HSVhsv(98, 84%, 53%)
CMYKcmyk(53.3%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.03, -41.99, 48.79)
CIE-LCHlch(50.03, 64.37, 130.72°)
OKLaboklab(55.53% -0.1166 0.1077)
OKLCHoklch(55.53% 0.159 137.3)
XYZxyz(10.8583, 18.4418, 3.7463)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8716 #5E1687
analogous
#778716 #3F8716 #168725
triadic
#3F8716 #163F87 #87163F
tetradic
#3F8716 #167787 #5E1687 #872516
square
#3F8716 #167787 #5E1687 #872516
split-complementary
#3F8716 #251687 #871677
monochromatic
#0E1E05 #26520D #3F8716 #58BC1F #75DF39

Accessibility & contrast

On white

4.48
#3F8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3F8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8716
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8716#FFFFFF#000000##000000
##3F87161.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#3A8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f8716;
/* rgb */ color: rgb(63, 135, 22);
/* oklch */ color: oklch(55.5% 0.159 137.3);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3f8716',
    950: '#000000',
  },
}
SCSS
$custom: #3f8716;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8716",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 98.23,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.15869,
    "h": 137.3
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F8716

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

Preview Lab → · Contrast checker → · Palette generator →

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