#3F8D16#3F8D16

#3F8D16 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.166 H 137.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3F8D16
RGBrgb(63, 141, 22)
HSLhsl(99, 73%, 32%)
HSVhsv(99, 84%, 55%)
CMYKcmyk(55.3%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.02, -44.34, 50.61)
CIE-LCHlch(52.02, 67.28, 131.22°)
OKLaboklab(57.18% -0.1229 0.1115)
OKLCHoklch(57.18% 0.166 137.8)
XYZxyz(11.7192, 20.1635, 4.0333)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D16 #64168D
analogous
#7B8D16 #3F8D16 #168D29
triadic
#3F8D16 #163F8D #8D163F
tetradic
#3F8D16 #167B8D #64168D #8D2916
square
#3F8D16 #167B8D #64168D #8D2916
split-complementary
#3F8D16 #29168D #8D167B
monochromatic
#102305 #27580E #3F8D16 #57C21E #75E13D

Accessibility & contrast

On white

4.17
#3F8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3F8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8D16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8D16#FFFFFF#000000##000000
##3F8D161.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#398878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d16;
/* rgb */ color: rgb(63, 141, 22);
/* oklch */ color: oklch(57.2% 0.166 137.8);
Tailwind
colors: {
  custom: {
    50: '#7daf60',
    500: '#3f8d16',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d16;
$custom-light: #7daf60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d16",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 99.328,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.16591,
    "h": 137.8
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#3F8D16
secondary
#943EC1
accent
#38F0B0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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