#3F8B17#3F8B17

#3F8B17 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.6% C 0.163 H 137.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3F8B17
RGBrgb(63, 139, 23)
HSLhsl(99, 72%, 32%)
HSVhsv(99, 83%, 55%)
CMYKcmyk(54.7%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.36, -43.51, 49.72)
CIE-LCHlch(51.36, 66.07, 131.19°)
OKLaboklab(56.63% -0.1206 0.1098)
OKLCHoklch(56.63% 0.163 137.7)
XYZxyz(11.4368, 19.5830, 3.9877)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B17 #63178B
analogous
#798B17 #3F8B17 #178B29
triadic
#3F8B17 #173F8B #8B173F
tetradic
#3F8B17 #17798B #63178B #8B2917
square
#3F8B17 #17798B #63178B #8B2917
split-complementary
#3F8B17 #29178B #8B1779
monochromatic
#0F2206 #27560E #3F8B17 #57C020 #75DF3D

Accessibility & contrast

On white

4.27
#3F8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3F8B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B17#FFFFFF#000000##000000
##3F8B171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#398676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b17;
/* rgb */ color: rgb(63, 139, 23);
/* oklch */ color: oklch(56.6% 0.163 137.7);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#3f8b17',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b17;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b17",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 99.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.16308,
    "h": 137.7
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#3F8B17
secondary
#933FBF
accent
#39EEB0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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