#3F8D17#3F8D17

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

Color values

HEX#3F8D17
RGBrgb(63, 141, 23)
HSLhsl(100, 72%, 32%)
HSVhsv(100, 84%, 55%)
CMYKcmyk(55.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.03, -44.29, 50.33)
CIE-LCHlch(52.03, 67.04, 131.34°)
OKLaboklab(57.18% -0.1227 0.111)
OKLCHoklch(57.18% 0.165 137.9)
XYZxyz(11.7290, 20.1674, 4.0851)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D17 #65178D
analogous
#7A8D17 #3F8D17 #178D2A
triadic
#3F8D17 #173F8D #8D173F
tetradic
#3F8D17 #177A8D #65178D #8D2A17
square
#3F8D17 #177A8D #65178D #8D2A17
split-complementary
#3F8D17 #2A178D #8D177A
monochromatic
#102406 #27580E #3F8D17 #57C220 #75E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8D17#FFFFFF#000000##000000
##3F8D171.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)
#887A26
Tritanopia (blue-blind)
#398878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d17;
/* rgb */ color: rgb(63, 141, 23);
/* oklch */ color: oklch(57.2% 0.165 137.9);
Tailwind
colors: {
  custom: {
    50: '#7daf60',
    500: '#3f8d17',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d17;
$custom-light: #7daf60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d17",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 99.661,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.16548,
    "h": 137.9
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#3F8D17
secondary
#9540C0
accent
#39EFB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #3F8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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