#3F8216#3F8216

#3F8216 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.153 H 136.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3F8216
RGBrgb(63, 130, 22)
HSLhsl(97, 71%, 30%)
HSVhsv(97, 83%, 51%)
CMYKcmyk(51.5%, 0%, 83.1%, 49%)
CIE-LABlab(48.36, -39.99, 47.26)
CIE-LCHlch(48.36, 61.90, 130.24°)
OKLaboklab(54.16% -0.1112 0.1044)
OKLCHoklch(54.16% 0.153 136.8)
XYZxyz(10.1770, 17.0792, 3.5192)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8216 #591682
analogous
#758216 #3F8216 #168223
triadic
#3F8216 #163F82 #82163F
tetradic
#3F8216 #167582 #591682 #822316
square
#3F8216 #167582 #591682 #822316
split-complementary
#3F8216 #231682 #821675
monochromatic
#0D1A04 #264E0D #3F8216 #58B61F #75DD35

Accessibility & contrast

On white

4.76
#3F8216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3F8216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8216
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8216#FFFFFF#000000##FFFFFF
##3F82161.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#3B7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f8216;
/* rgb */ color: rgb(63, 130, 22);
/* oklch */ color: oklch(54.2% 0.153 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca75e',
    500: '#3f8216',
    950: '#000000',
  },
}
SCSS
$custom: #3f8216;
$custom-light: #7ca75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8216",
  "rgb": {
    "r": 63,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 97.222,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.15256,
    "h": 136.8
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#3F8216
secondary
#883DB7
accent
#3AEEAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8216

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

Preview Lab → · Contrast checker → · Palette generator →

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