#3F8016#3F8016

#3F8016 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.150 H 136.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8016
RGBrgb(63, 128, 22)
HSLhsl(97, 71%, 29%)
HSVhsv(97, 83%, 50%)
CMYKcmyk(50.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.69, -39.17, 46.64)
CIE-LCHlch(47.69, 60.90, 130.02°)
OKLaboklab(53.61% -0.109 0.1031)
OKLCHoklch(53.61% 0.15 136.6)
XYZxyz(9.9136, 16.5523, 3.4314)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8016 #571680
analogous
#748016 #3F8016 #168022
triadic
#3F8016 #163F80 #80163F
tetradic
#3F8016 #167480 #571680 #802216
square
#3F8016 #167480 #571680 #802216
split-complementary
#3F8016 #221680 #801674
monochromatic
#0D1A04 #254C0D #3F8016 #59B41F #75DC34

Accessibility & contrast

On white

4.87
#3F8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8016
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8016#FFFFFF#000000##FFFFFF
##3F80161.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8016;
/* rgb */ color: rgb(63, 128, 22);
/* oklch */ color: oklch(53.6% 0.150 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba55e',
    500: '#3f8016',
    950: '#000000',
  },
}
SCSS
$custom: #3f8016;
$custom-light: #7ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8016",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 96.792,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.15008,
    "h": 136.6
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#3F8016
secondary
#863DB5
accent
#3AEDA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8016

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

Preview Lab → · Contrast checker → · Palette generator →

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