#3F8416#3F8416

#3F8416 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.155 H 137.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F8416
RGBrgb(63, 132, 22)
HSLhsl(98, 71%, 30%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(52.3%, 0%, 83.3%, 48.2%)
CIE-LABlab(49.03, -40.79, 47.87)
CIE-LCHlch(49.03, 62.90, 130.43°)
OKLaboklab(54.71% -0.1134 0.1057)
OKLCHoklch(54.71% 0.155 137)
XYZxyz(10.4457, 17.6165, 3.6088)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8416 #5B1684
analogous
#768416 #3F8416 #168424
triadic
#3F8416 #163F84 #84163F
tetradic
#3F8416 #167684 #5B1684 #842416
square
#3F8416 #167684 #5B1684 #842416
split-complementary
#3F8416 #241684 #841676
monochromatic
#0D1B05 #26500D #3F8416 #58B81F #75DE37

Accessibility & contrast

On white

4.64
#3F8416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8416
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8416#FFFFFF#000000##FFFFFF
##3F84161.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#3B7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8416;
/* rgb */ color: rgb(63, 132, 22);
/* oklch */ color: oklch(54.7% 0.155 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#3f8416',
    950: '#000000',
  },
}
SCSS
$custom: #3f8416;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8416",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 97.636,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.15503,
    "h": 137
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#3F8416
secondary
#8B3DB8
accent
#3AEEAB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8416

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

Preview Lab → · Contrast checker → · Palette generator →

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