#3F8316#3F8316

#3F8316 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.154 H 136.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3F8316
RGBrgb(63, 131, 22)
HSLhsl(97, 71%, 30%)
HSVhsv(97, 83%, 51%)
CMYKcmyk(51.9%, 0%, 83.2%, 48.6%)
CIE-LABlab(48.69, -40.39, 47.57)
CIE-LCHlch(48.69, 62.40, 130.34°)
OKLaboklab(54.43% -0.1123 0.1051)
OKLCHoklch(54.43% 0.154 136.9)
XYZxyz(10.3107, 17.3465, 3.5638)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8316 #5A1683
analogous
#768316 #3F8316 #168323
triadic
#3F8316 #163F83 #83163F
tetradic
#3F8316 #167683 #5A1683 #832316
square
#3F8316 #167683 #5A1683 #832316
split-complementary
#3F8316 #231683 #831676
monochromatic
#0D1A04 #264F0D #3F8316 #58B71F #75DD36

Accessibility & contrast

On white

4.70
#3F8316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3F8316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8316
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8316#FFFFFF#000000##FFFFFF
##3F83161.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#3B7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8316;
/* rgb */ color: rgb(63, 131, 22);
/* oklch */ color: oklch(54.4% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#3f8316',
    950: '#000000',
  },
}
SCSS
$custom: #3f8316;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8316",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 97.431,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.1538,
    "h": 136.9
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#3F8316
secondary
#8A3DB7
accent
#3AEEAA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8316

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

Preview Lab → · Contrast checker → · Palette generator →

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